home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac 1 / Ian and Stuart's One (Australia).iso / Mac FAQs / Mac A⁄UX.faq < prev    next >
Internet Message Format  |  1994-10-09  |  160KB

  1. Path: bloom-beacon.mit.edu!grapevine.lcs.mit.edu!uhog.mit.edu!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!ames!newsfeed.gsfc.nasa.gov!jagubox!jim
  2. From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  3. Newsgroups: comp.unix.aux,news.answers,comp.answers
  4. Subject: Apple A/UX FAQ List (1/4)
  5. Supersedes: <3636@jagubox.gsfc.nasa.gov>
  6. Followup-To: comp.unix.aux
  7. Date: 27 Sep 94 11:31:04 GMT
  8. Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA
  9. Lines: 1104
  10. Approved: news-answers-request@MIT.Edu
  11. Expires: 12 Oct 94 00:00:00 GMT
  12. Message-ID: <3714@jagubox.gsfc.nasa.gov>
  13. Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  14. NNTP-Posting-Host: jagubox.gsfc.nasa.gov
  15. Mime-Version: 1.0
  16. Content-Type: text/plain; charset=US-ASCII
  17. Content-Transfer-Encoding: 7bit
  18. Summary: Latest posting of FAQ for A/UX
  19. Keywords: FAQ A/UX
  20. Xref: bloom-beacon.mit.edu comp.unix.aux:9468 news.answers:26361 comp.answers:7465
  21.  
  22. Archive-name: aux-faq/part1
  23. Last-modified: Tue Sep 27 07:27:56 EDT 1994
  24.  
  25.          This is the Frequently Asked Question (FAQ) list for A/UX 3.x.x
  26.  
  27.  
  28. Not a lot of changes this go-around... too busy with other stuff lately.
  29. Expect a section dealing with 3.1.1 next time.
  30.  
  31. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 1 OF 4 //////////////////////
  32.  
  33. FAQ for A/UX
  34. ============
  35.  
  36. This FAQ list is intended to cut down on the number of "often asked questions"
  37. that make the rounds here on comp.unix.aux. Also included you'll find a few
  38. words of wisdom as well as some general information for the A/UX community.
  39. This list assumes that you are familiar with Unix (to some extent) but are
  40. curious about A/UX's eccentricities. The list will concentrate on A/UX 3.x.x
  41. but may also have info about previous versions. If you don't understand
  42. something in the FAQ List, and a "Point of Contact" isn't specified, then
  43. contact me and I'll attempt to help or else point you to someone who can.
  44. In any case, let me know how I can make the list more clear.
  45.  
  46. You'll notice jagubox.gsfc.nasa.gov mentioned alot here. You can access files
  47. on jagubox either using 'ftp' (jagubox runs the WUARCHIVE-FTPD server),
  48. 'gopher' or a WWW-client (jagubox's URL is "http://jagubox.gsfc.nasa.gov").
  49.  
  50. This FAQ is written in a format that EasyView (for the Mac) can understand and
  51. make use of. EasyView provides a very nice front-end for viewing, browsing and
  52. reading the FAQ. EasyView is available on jagubox.gsfc.nasa.gov.
  53.  
  54. The list will be posted every other Tuesday on comp.unix.aux as well as on
  55. news.answers and comp.answers. It is also available on jagubox.gsfc.nasa.gov.
  56.  
  57. There is a frozen FAQ that deals with A/UX 2.0.1 which is available on jagubox
  58. (FAQ.aux.201). This FAQ will be posted monthly (or so) on comp.unix.aux.
  59.  
  60. Since 3.0.2 is official, released and free, I will not mention things broken
  61. in 3.0.1 that are fixed in 3.0.2. I will also tend to "ignore" 3.0.1 except
  62. where needed... This is due to the fact that the upgrade to 3.0.2 (from 3.0.1)
  63. _is_ free, so if you have 3.0.1, you really _should_ upgrade to 3.0.2.
  64.  
  65. I will tend to use 3.0.2 as the name of the general version of A/UX and
  66. 3.0.2(wgs) as the version for the AWS95 even though this is kinda confusing
  67. since the WGS version is really 3.0.2 and the version for the rest of us is
  68. 3.0.2bc. Anyway, 3.0.x will be used to mean 3.0, 3.0.2 and 3.0.2(wgs).
  69.  
  70. Now that 3.1 is released and shipping, I'll start folding 3.1-specific items
  71. in as well. 3.x.x means 3.1, 3.0.2, 3.0.1 and 3.0.
  72.  
  73. This FAQ is "copyrighted" in the same sense that all other FAQs are copy-
  74. righted: the FAQ may be _freely_ redistributed as long as the author's/editor's
  75. name and this notice is included. If contents of this FAQ are to be published,
  76. then you should ask the author's/editor's permission to do so.
  77.  
  78. Send your additions|modifications to Jim Jagielski (jim@jagubox.gsfc.nasa.gov)
  79. (editor's notes are included as <<ED: ...>>). I will tend to refer to myself
  80. in the 3rd person in the Q&A section.
  81.  
  82. =============================
  83. **** Significant Changes ****
  84. -----------------------------
  85.  
  86. |++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  87. |Significant changes/additions since last posting:
  88. |   Changes signified by "|" in 1st column;
  89. |   Additions by "+" in the 1st column;
  90. |   Deletions by "-" in the 1st column (the line will be
  91. |    deleted in the next posting)
  92. |
  93. + Added: shadow-passwd suite ported
  94. | Changed: gcc now up to 2.6.0
  95. |++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  96.  
  97.  
  98. ============================
  99. **** TABLE OF CONTENTS: ****
  100. ----------------------------
  101.  
  102. o List of Contributors to A/UX FAQ List
  103. o List of anon-ftp archives for A/UX
  104. o List of security-related issues
  105. o List of known bugs and patches under A/UX 3.x.x
  106. o List of ported software
  107. o Partial list of compatible shareware|freeware
  108. o Hints and Words Of Wisdom
  109. o Q&A-
  110.    GENERAL QUESTIONS:
  111.    G.01)  What's A/UX? Is it any good?
  112.    G.02)  What's the minimum system I need (CPU, disk and RAM) to run A/UX?
  113.    G.03)  What's new about A/UX 3.x.x?
  114.    G.04)  What's the diff between 3.0.2 and 3.0.2(wgs)?
  115.    G.05)  How can I order A/UX?
  116.    G.06)  What's the upgrade path for A/UX 3.0.2?
  117.    G.07)  What are Right-To-Copy and Right-To-Upgrade licenses?
  118.    G.08)  How can I report bugs that I find?
  119.    G.09)  What's the word on A/UX 3.1?
  120.    G.10)  What's the future of A/UX with the PowerMacs?
  121.    G.11)  I can't use A/UX. What UNIX alternatives are there?
  122.  
  123.    ADMINISTRATION ISSUES:
  124.    A.01)  How come my Login screen is gray, not color?
  125.    A.02)  How come my Login ScreenSaver doesn't see both my monitors?
  126.    A.03)  Even though I have lot's of swap space and only a little bit is
  127.           being used, I STILL get a lot of messages saying that my swap
  128.           space is running low. What's the buzz?
  129.    A.04)  How can I copy a complete file system from one disk|partition to
  130.           another?
  131.    A.05)  What's with UUCP?
  132.    A.06)  How can I log anonymous ftp entries? in.ftpd has a -l option,
  133.           but it doesn't work.
  134.    A.07)  How come when I do a 'df' as a regular user, it shows me a different
  135.           number of free blocks compared to when I run it as 'root'?
  136.    A.08)  Does A/UX LocalTalk support IP?
  137.    A.09)  How do I get MPW 3.1 to work? It hangs my system...
  138.    A.10)  Can I refer to a file on my Mac system from within A/UX?
  139.    A.11)  How can I adjust the amount of virtual memory Finder uses?
  140.    A.12)  Is there an archive of comp.unix.aux out there somewhere?
  141.    A.13)  How come I can't use color under X?
  142.    A.14)  Using the command shell interface, I'm trying to access some Mac
  143.           files (that have strange names) but I can't; the program returns an
  144.           error message I can't access the file. What's going on?
  145.    A.15)  I heard the the Installer for 3.x.x works on "any" 3rd party
  146.           hard disk. Well, it doesn't on mine!
  147.    A.16)  Since RetroSpect will no longer be bundled with A/UX 3.0.2,
  148.           how can I get it?
  149.    A.17)  How can I configure CAP under A/UX?
  150.    A.18)  What are some good books about A/UX?
  151.    A.19)  When booting up, I get a "panic ialloc, dup alloc" (or other)
  152.           error message and A/UX won't boot. What can I do?
  153.    A.20)  Is traceroute available for A/UX?
  154.    A.21)  What is KEEPALIVE and how can I use it?
  155.  
  156.    MAC-EMULATION QUESTIONS:
  157.    M.01)  What Mac applications are compatible with A/UX?
  158.    M.02)  What screen-savers are compatible with A/UX?
  159.    M.03)  My MacOS partition mounts fine under MacOS but it doesn't show
  160.           up under A/UX... Why?
  161.    M.04)  I have MacsBug installed. How can I trigger it?
  162.    M.05)  Sometimes my MultiFinder environment (and/or CommandShell) freezes
  163.           up; how can I unfreeze it? Should I hit the Interrupt switch?
  164.    M.06)  My site is not upgraded to EtherTalk Phase 2 yet... can I use
  165.           Phase 1 under A/UX?
  166.    M.07)  I'm having trouble transfering files between A/UX and my MacOS disk.
  167.           Also, sometimes things get transfered fine, othertimes not. What's
  168.           going on?
  169.    M.08)  Do I install CDEVs and Extensions in the System Folder on
  170.           MacPartition or on the "/" A/UX disk.
  171.    M.09)  I heard that A/UX requires a special version of System 7 to boot...
  172.           Is this true?
  173.    M.10)  After the Mac environment crashes (or when I use MacsBug), the
  174.           Desktop gets all screwed up... Argg!!
  175.    M.11)  My MacOS partition(s) only show up on the Desktop when I login
  176.           as root. Why?
  177.    M.12)  For some reason, my CommandShell only responds to a keyboard
  178.           event after it receives a second event. For example, typing "a"
  179.           won't show until I type something else or click the mouse.
  180.           What gives?
  181.    M.13)  Can A/UX 3.x.x run System 7.1?
  182.    M.14)  What version of AppleTalk does A/UX run?
  183.    M.15)  I've just installed MacTCP 2.0.2|4 on A/UX and nothing works!
  184.           What's going on?
  185.  
  186.    DEVICES AND PERIPHERALS:
  187.    D.01)  Can I use my Teac|DAT|etc tape drive under A/UX?
  188.    D.02)  I have an EtherNet card that works fine under the Macintosh OS
  189.           but not under A/UX. Why?
  190.    D.03)  Can I use my scanner under A/UX?
  191.    D.04)  I'm trying to use a SyQuest drive under A/UX but it refuses to
  192.           work. I keep on getting a "more data than device expected" error
  193.           message. What's wrong?
  194.    D.05)  What 3-button mice work under A/UX (and X)?
  195.    D.06)  Is it worth getting a cache card for the IIci?
  196.    D.07)  How can I figure out the /etc/disktab entry for my hard disk?
  197.    D.08)  Which serial cards work under A/UX?
  198.    D.09)  I'm using a LaserWriter IIg with A/UX 3.x.x and whenever I print
  199.           something to it through 'lpr', the first line of the page is cut
  200.           off. Why?
  201.    D.10)  I'm trying to access my tape drive using 'tc' (with something like
  202.           "find . -print | cpio -o > /dev/rmt/tc1") but it doesn't work...
  203.    D.11)  What CD-ROM drives are compatible with A/UX 3.x.x?
  204.    D.12)  I've tried to install the CD Remote extension to A/UX so that
  205.           I can play audio CD's, but it doesn't work...
  206.    D.13)  What UNIX CD-ROM formats does A/UX support?
  207.    D.14)  How can I add printers other than those available in Chooser?
  208.    D.15)  What 3rd party accelerators are compatible with A/UX?
  209.    D.16)  Will the old serial HP DeskWriter work under A/UX?
  210.    D.17)  How can I use a HP DeskWriter under A/UX?
  211.    D.18)  Does A/UX support 24-bit color?
  212.    D.19)  What's the specifics on the AWS95 PDS Card?
  213.    D.20)  What are the specifics of SCSI under A/UX?
  214.    D.21)  I can't get my LaserJet 4M to work reliably. Help!
  215.    D.22)  Does the Apple Adjustable Keyboard work under A/UX?
  216.  
  217.    PORTING AND PROGRAMMING
  218.    P.01)  How come rn|elm|less|etc... act weird concerning signals?
  219.    P.02)  Is X11R5 available for A/UX?
  220.    P.03)  I've noticed that FSF GNU doesn't support A/UX. Does that mean
  221.           I'll miss out on all the neat Gnu-stuff like gcc?
  222.    P.04)  I've ported Elm (or other mail reader) and it doesn't seem to
  223.           work... Why?
  224.    P.05)  What languages are available for A/UX?
  225.    P.06)  Is OSF/Motif available for A/UX?
  226.    P.07)  While trying to port some software, the Makefile looks
  227.           for a program called 'ranlib' and dies when it can't
  228.           find it. What is it and where can I get it.
  229.    P.08)  When compiling, I get the message that 'setlocale' is
  230.           an "undefined symbol"... what's going on?
  231.  
  232.    COMMUNICATION:
  233.    C.01)  I'm unable to start a getty process on a built-in serial port. When
  234.           I use 'setport' to enable the port, I get a "no such device" error.
  235.           Configuring /etc/inittab to respawn getty on the port has no effect.
  236.    C.02)  I am using and depending on /etc/hosts to do all my hostname
  237.           resolving (i.e. not using named or /etc/resolv.conf). How come I
  238.           can't mail to other hosts, but I can ping|ftp|etc... them?
  239.    C.03)  When I try to mail something, I get the following error message:
  240.           "Cannot read frozen config file: not a typewriter". What's wrong?
  241.    C.04)  How do I set up my Mac and A/UX to enable remote logins via a modem
  242.           on tty0?
  243.    C.05)  How come I can't use 'talk' with some of the other Unix boxes out
  244.           there, and they can't talk to me?
  245.    C.06)  How can I convince A/UX to forward IP packets?
  246.    C.07)  Is PPP available for A/UX?
  247.    C.08)  How can I change the MTU value for CSlip?
  248.  
  249.    ERRORS EXPLAINED:
  250.    E.01)  How do I keep command lines that I edit with "backspace" from
  251.           erasing the prompt?
  252.    E.02)  Whenever I try to run xinit (or startx) from the CommandShell I get
  253.           a fatal server error. Why?
  254.    E.03)  I keep on getting the following error message on the Console:
  255.           "fcntl: local lock manager not registered". What's going on?
  256.    E.04)  When I try to startup 'xterm', I get the following error
  257.           message: "xterm: no available ptys"... What gives?
  258.    E.05)  'ps' and 'pstat' only seem to work for root. If anyone else tries
  259.           these commands, they get a "no mem" error message. What's wrong?
  260.  
  261.  
  262. ===============================================
  263. **** List of Contributors to A/UX FAQ List ****
  264. -----------------------------------------------
  265.  
  266. The editor would like to thank all the various people who have contributed
  267. to the A/UX FAQ List (both those that submitted questions as well as those
  268. who submitted answers). Also included under the Q&A section are the relevant
  269. people to contact if you have specific questions about specific A/UX items.
  270. If I've left you out, PLEASE E-mail me!
  271.  
  272.   Brian Bechtel           (blob@apple.com)
  273.   Greg Berryman           (gpb@gpb-mac.sps.mot.com)
  274.   Nick Beser              (beser@aplcomm.jhuapl.edu)
  275.   Peter Brewer            (brewer@hamlet.umd.edu)
  276.   Manuel Bouyssou         (manuel@apple.com)
  277.   John Coolidge           (coolidge@apple.com)
  278.   Bob Denny               (denny@alisa.com)
  279.   Eric Dittman            (dittman@skitzo.dseg.ti.com)
  280.   John Dundas III         (dundas@salt.jpl.nasa.gov)
  281.   Thomas Eberhardt
  282.   Rick Ewing              (ewing@vhp.vanderbilt.edu)
  283.   Ron Flax                (ron@afsg.apple.com)
  284.   Marcelo Gallardo        (marcelo@deadzone.princeton.edu)
  285.   Ben Goren               (ben@tux.fa.asu.edu)
  286.   James Gritton           (gritton@byu.edu)
  287.   Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  288.   Chris Johnson           (cjohnson@brl.mil)
  289.   Bill Johnston           (johnston@me.udel.edu)
  290.   Ron Johnston            (johnston@apple.com)
  291.   Bob Kirby               (kirby@esl.com)
  292.   Nicolas Lenz            (nlenz@sdcc13.UCSD.EDU)
  293.   Darrell Pfeifer         (pfeifer@camins.camosun.bc.ca)
  294.   Phillip Porch           (root@theporch.raider.net)
  295.   Wes Price               (ww2@bullwinkle.ssc.gov)
  296.   Alexis Rosen            (alexis@panix.com)
  297.   Eric Rosen              (eric@cse.ucsc.edu)
  298.   Craig Ruff              (cruff@ncar.ucar.edu)
  299.   Jim Ryan                (jryan@adobe.com)
  300.   Paul Sander             (paul@sander.uucp)
  301.   Kent Sandvik            (ksand@apple.com)
  302.   Jon Stevens             (root@dolphin.csudh.edu)
  303.   Craig Struble           (cstruble@gnu.ai.mit.edu)
  304.   Richard Todd            (rmtodd@servalan.servalan.com)
  305.   Chuq Von Rospach        (chuq@apple.com)
  306.   Jon W{tte               (d88-jwa@nada.kth.se)
  307.   Earl Wallace            (earlw@macaux.aux.apple.com)
  308.   Bill Woodcock           (woody@zocalo.com)
  309.  
  310.  
  311. =================================================
  312. **** List of anonymous ftp archives for A/UX ****
  313. -------------------------------------------------
  314.  
  315. The following sites have A/UX related archives and materials available via
  316. anonymous ftp (see below for more information):
  317.  
  318. abs.apple.com                      (130.43.1.101)
  319.     Meant to be the central server for _all_ Apple Business Systems
  320.     products, including A/UX, AWS, MAE, etc...
  321.  
  322. afsg.apple.com                     (130.43.50.2)
  323.     ports and hacks for A/UX
  324.  
  325. aux.support.apple.com              (130.43.6.2)
  326.     the "official" A/UX-support server
  327.     archive of comp.unix.aux
  328.     A/UX patches and some ports;
  329.  
  330. dolphin.csudh.edu                  (155.135.16.1)
  331.     neat A/UX stuff
  332.  
  333. dunkin.Princeton.EDU               (128.112.64.39)
  334.     mirror of jagubox.gsfc.nasa.gov
  335.  
  336. ftp.fenk.wau.nl                    (137.224.129.4)
  337.     mirror of jagubox.gsfc.nasa.gov
  338.  
  339. jagubox.gsfc.nasa.gov              (128.183.44.1)
  340.     FAQ List;
  341.     bunch of ports, utilities, new mini-inews (1.6);
  342.     Apple fixes (in ~ftp/pub/aux/Apple.fixes)
  343.     ***       jagubox also runs a gopherd-server as well      ***
  344.     *** and a WWW-httpd server "http://jagubox.gsfc.nasa.gov" ***
  345.  
  346. nada.kth.se                        (130.237.222.71)
  347.     mirror of A/UX items from:
  348.        afsg.apple.com
  349.        aux.support.apple.com
  350.        jagubox.gsfc.nasa.gov
  351.        wuarchive.wustl.edu
  352.  
  353. rascal.ics.utexas.edu              (128.83.138.20)
  354.     misc. ports;
  355.     Mac applications, CDEVs, etc...;
  356.  
  357. redstar.dcs.qmw.ac.uk              (192.135.231.4)
  358.     IIci benchmarking results;
  359.  
  360. wuarchive.wustl.edu                (128.252.135.4)
  361.     ports, GNU stuff; (look in systems/aux)
  362.  
  363.  
  364. =======================================
  365. *** List of security-related issues ***
  366. ---------------------------------------
  367.  
  368. No system is 100% secure. To this end, it makes sense to make each one as
  369. secure as possible, including A/UX.
  370.  
  371. ~~~~~~~~~~~~~~~~~~~~~~
  372. Permissive Permissions
  373. ~~~~~~~~~~~~~~~~~~~~~~
  374.  
  375.   o The default distribution of A/UX has some files with somewhat permissive
  376.     permissions. These should be changed to avoid problems. These files and
  377.     the recommended modes, owners and groups are as follows:
  378.  
  379.       -rwsr-xr-x   1 root     sys        /bin/ps
  380.       -rwxr-sr-x   1 bin      sys        /bin/pstat
  381.       -rwxr-xr-x   1 bin      bin        /etc/ncheck
  382.       -rwxr-sr-x   1 bin      sys        /usr/bin/lav
  383.       -rwxr-xr-x   1 bin      bin        /usr/bin/X11/xterm
  384.       -rwxr-sr-x   1 bin      sys        /usr/etc/ncstats
  385.       -rwxr-sr-x   1 bin      sys        /usr/etc/nfsstat
  386.       -rwxr-xr-x   1 bin      bin        /usr/etc/rpcinfo
  387.       -rwxr-x---   1 adm      adm        /usr/lib/acct/diskusg
  388.       drwxr-xr-x  21 root     sys        /etc 
  389.  
  390.     (The removal of SUID-to-root from 'diskusg' means that the cron 'adm'
  391.     accounting package [all the /usr/lib/acct/* stuff] will need to be run by
  392.     'root' instead)
  393.  
  394.     To make changing the user, group and permissions of these files a little
  395.     easier, Jim Jagielski has hacked together an ugly little 'ksh' script
  396.     that does it for you. The info required is self contained in the script
  397.     itself and it's easy to add more entries as required. Look for the script
  398.     on jagubox.gsfc.nasa.gov under "/pub/aux/Security/better.perms".
  399.  
  400.  o  Also, to close things a little tighter, remove all permissions for
  401.     "others" ('chmod o-rwx') for all files in:
  402.  
  403.       /usr/lib/acct
  404.       /usr/lib/cron
  405.     
  406.   o Only trusted users should be allowed to use 'lpr'. Remove execute
  407.     priviledges for OTHERS and then change '/etc/groups' to make _only_
  408.     trusted users as members of group 'daemon'. If you want, you can dump
  409.     'lpr/lpd' and use 'lp/lpsched'.
  410.  
  411.   o You may want to consider if you really want the 'lp'|'lpr' admini-
  412.     stration programs (such as 'lpadmin', 'lpmove' etc...) executable by
  413.     all. If not, then remove that mode from them ('chmod o-rwx').
  414.  
  415.   o Under 3.x.x, make sure that all files in /dev/scsi are mode 600 with
  416.     owner 'root' and group 'sys'... Get the new 'devscsi' file (available on
  417.     jagubox) to replace what's in /etc/install.d/init.d.
  418.  
  419.   o A/UX also has the 'expreserve' problem. This program (actually called
  420.     'ex3.9preserve' under A/UX) is used by 'vi'|'ex' to "save" canceled
  421.     or killed edit sessions. 'expreserve' saves a copy of the buffer in
  422.     the "/usr/preserve" directory. The program is SUID to root since the
  423.     directory is owned by root, but any other user would do just fine. There's
  424.     also no real need for it to be SUID either. To preserve the use of
  425.     'expreserve' you'll need to create a new user whose sole existance is to
  426.     own "/usr/preserve" and 'ex3.9preserve'.
  427.  
  428.       : Create a new user on the system. Make it totally unused. eg:
  429.  
  430.          /etc/passwd:
  431.            preserve:* void *:33:33:secure preserve:/usr/preserve:/bin/noshell
  432.  
  433.          /etc/group
  434.            preserve:* void *:33:preserve
  435.     
  436.       : Now change the owner and group of /usr/lib/ex3.9preserve and
  437.         /usr/preserve to the above user. Change the mode of 'ex3.9preserve' to
  438.         2111 and 'preserve' to 775:
  439.  
  440.           ---x--s--x   1 preserve  preserve  /usr/lib/ex3.9preserve
  441.           drwxrwxr-x   2 preserve preserve     512 Mar  4 15:46 /usr/preserve
  442.  
  443.     ...and you're done. Now vi/expreserve can write in /usr/preserve but no
  444.     root security hole exists! If this is too much work, then you can just
  445.     remove the SUID bit for 'expreserve'; this will close the hole, but killed
  446.     editting sessions won't be saved (except for root).
  447.  
  448.     (***NOTE*** Replacing 'sh' with the "fixed" version described below
  449.      fixes this hole. Still, having 'expreserve' SUID to root goes against
  450.      the ideal of running programs with the least priviledges possible.)
  451.  
  452.   o The '/lib/librmt.a' library has write permissions for all users. You
  453.     should remove it:
  454.  
  455.       -rw-r--r--   1 root     bin        14734 Mar 23  1993 /lib/librmt.a
  456.  
  457.   o Why not create a group called 'wheel' and make /bin/su mode 4750 with
  458.     owner 'root' and group 'wheel'. Then, only make trusted users with
  459.     the need to use 'su' as members of 'wheel'.
  460.  
  461.   o Make sure that 'bin' has a void password and '/bin/false' as it's
  462.     login shell.
  463.  
  464. + o The shadow-passwd suite has been ported to A/UX. Basically, this package
  465. +   moves the encrypted passwds from world-readble /etc/passwd to root-only-
  466. +   readable /ec/shadow, thus greatly increasing security. Some daemons, such
  467. +   as popper and wu-ftpd will need to be recompiled. Use it!
  468.  
  469. ~~~~~~~~~~~~~~~~~~~~~~~~~
  470. Other "Gotcha's" and Info
  471. ~~~~~~~~~~~~~~~~~~~~~~~~~
  472.  
  473.   o A number of holes are due to some "wrong" things that '/bin/sh' does
  474.     concerning IFS. To fix this, Apple has released a "corrected" version
  475.     of 'sh' that resets IFS to it's default value before executing a script.
  476.     This fixes some holes that exist in SUID programs that call 'system()'
  477.     or 'popen()' to execute some commands. This replacement version of
  478.     'sh' is available both on aux.support.apple.com and jagubox.gsfc.nasa.gov.
  479.     To install it, follow these directions (assuming you are located in the
  480.     directory where the new 'sh' is located):
  481.  
  482.        $ cp /bin/sh /bin/Osh
  483.        $ cp sh /bin/sh
  484.  
  485.   o If you are connected to the Internet, it's a Good Idea to either use
  486.     either tcp_wrappers (on ftp.win.tue.nl) or inetd 1.7 (on jagubox), both
  487.     of which provide host access control (i.e. you can select which hosts can
  488.     exec which network daemons. While you are at it, the replacement version
  489.     of 'portmap' (also on ftp.win.tue.nl) is very easy to compile and is
  490.     recommended as well.
  491.  
  492.   o By all means, remove the Guest account. Check to make sure that there
  493.     are _no_ users with null-passwords in /etc/passwd.
  494.  
  495.   o The default distribution of A/UX has 'in.fingerd' SUID to root. Even
  496.     though it doesn't have the  famous Internet Worm problem, there's no
  497.     need for that. Much better to have it run as 'nobody'. You can do
  498.     this by either changing the owner of 'in.fingerd' to 'nobody' and
  499.     keeping it's SUID bit or you can remove the SUID capability and
  500.     tell 'inetd' to run it as 'nobody'. To do the later, you'll need to
  501.     use the new, unofficial replacement of 'inetd' for A/UX (see below:
  502.     "Performance Patches", "Ported s/w" and Q&A A.06). Jim Jagielski has
  503.     also ported a version of 'in.fingerd' that logs fingers. It's available
  504.     via anon-ftp on jagubox.gsfc.nasa.gov. Of course, the most secure option
  505.     is simply to disable 'in.fingerd' totally in '/etc/servers'.
  506.  
  507.   o Root should never use the common System Folder... Due to it's very
  508.     nature it's writable by everyone. Give root a personal System Folder
  509.     and sleep easier :)
  510.  
  511.   o A/UX doesn't support the 'sticky-bit' feature for directories. So
  512.     why not create a directory in your $HOME called '.tmp' with mode 700.
  513.     Now in /etc/profile add:
  514.  
  515.         if [ -d "$HOME/.tmp" ]; then
  516.             EXINIT="set directory=$HOME/.tmp"
  517.             export EXINIT
  518.             TMPDIR="$HOME/.tmp"
  519.             export TMPDIR
  520.         fi
  521.  
  522.     and in /etc/cshrc add:
  523.  
  524.         if ( -d "$HOME/.tmp" ) then
  525.             setenv EXINIT "set directory=$HOME/.tmp"
  526.             setenv TMPDIR "$HOME/.tmp"
  527.         fi
  528.  
  529.     Now most UNIX programs (like 'vi', 'elm', 'cc', 'gcc', etc...) will use
  530.     $HOME/tmp as a safer location for temp-files.
  531.  
  532.  
  533. =========================================================
  534. **** List of known bugs and patches under A/UX 3.x.x ****
  535. ---------------------------------------------------------
  536.  
  537. ~~~~~~~~~~~~~~~
  538. AWS Tune-Up 1.0
  539. ~~~~~~~~~~~~~~~
  540.  
  541.     By far, this is the most important patch you could apply to A/UX 3.0.1.
  542.     It updates it to 3.0.2 and fixes lots of bugs as well as provides better
  543.     performance. The patch is in the form of 2 DiskCopy Image files which
  544.     can be found on jagubox.gsfc.nasa.gov and on aux.support.apple.com. You
  545.     download the files and then use DiskCopy to make the Installer disks.
  546.     This is a _free_ upgrade to 3.0.1 and requires 3.0.1.
  547.  
  548. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  549. Performance related patches: 3.x.x
  550. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  551.  
  552.     inetd:
  553.         ***            Unofficial replacement is available            ***
  554.         ***        on jagubox.gsfc.nasa.gov in pub/aux/Daemons        ***
  555.         ***      This replacement is based on the BSD-reno inetd      ***
  556.         ***  and allows such nice features as rereading /etc/servers  ***
  557.         ***        on receiving SIGHUP, specifying options for        ***
  558.         ***           called daemons,  logging when daemons           ***
  559.         ***     are spawned and which host requested the daemon       ***
  560.         ***            and providing host access control              ***
  561.         {{{{{                                                       }}}}}
  562.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  563.         {{{{{          John Coolidge (coolidge@apple.com)           }}}}}
  564.  
  565.     tc (tape driver device driver):
  566.         Reports incorrect file number when 'mt' is used to skip
  567.         files (fsf and/or bsf).
  568.         Doesn't allow for additional storage capability of extended
  569.         length tapes or hardware compression tape drives.
  570.         Doesn't work with Exabyte 8200s
  571.         ***                                                           ***
  572.         ***       An unofficial replacement version of 'tc' has       ***
  573.         ***     has been written that fixes these bugs as well as     ***
  574.         ***        providing additional capability and support        ***
  575.         ***                    for other drives                       ***
  576.         ***                                                           ***
  577.         ***               3.x.x replacement is available              ***
  578.         ***       on jagubox.gsfc.nasa.gov in pub/aux/Sys_stuff       ***
  579.         {{{{{                                                       }}}}}
  580.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  581.  
  582. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  583. Bugs and Fixes|Workarounds: 3.x.x
  584. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  585.  
  586.     ~lp/model/at_interface:
  587.         Incorrectly prints multiple copies of input. For example,
  588.         "lp file.1 file.2" would print 2 copies of file.1 and just
  589.         one of file.2.
  590.         ***    Due to '>>' being used instead of '>' in certain       ***
  591.         ***                 places in at_interface.                   ***
  592.         ***             Unofficial replacement is available           ***
  593.         ***        on jagubox.gsfc.nasa.gov in pub/aux/Sys_stuff      ***
  594.         ***       (entries in ~lp/interface based on at_interface     ***
  595.         ***               should also be changed/patched)             ***
  596.         {{{{{                                                       }}}}}
  597.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  598.  
  599.     atprint:
  600.         Doesn't correctly connect to the LaserWriter Pro 810.
  601.         ***              Official replacement is available            ***
  602.         ***      on ftp.support.apple.com in /pub/aws95/atprint       ***
  603.  
  604.     syslogd:
  605.         Doesn't handle some facility (like 'news') logging correctly.
  606.         ***             Unofficial replacement is available           ***
  607.         ***         on jagubox.gsfc.nasa.gov in pub/aux/Daemons       ***
  608.         ***       (contains new /etc/syslogd as well as syslog.h)     ***
  609.         {{{{{                                                       }}}}}
  610.         {{{{{       Jim Jagielski (jim@jagubox.gsfc.nasa.gov)       }}}}}
  611.  
  612.     in.telnetd:
  613.         Leaves ports open and hanging occasionally. Can cause kernel crashes.
  614.         ***            Unofficial replacement is available            ***
  615.         ***                 on jagubox.gsfc.nasa.gov                  ***
  616.         ***         in pub/aux/Apple.fixes/unsupported/3.x.x          ***
  617.         {{{{{                                                       }}}}}
  618.         {{{{{          John Coolidge (coolidge@apple.com)           }}}}}
  619.         ####  Please note that it appears that this new version has  ####
  620.         ####    some slight bugs in correctly handling Synchs and    ####
  621.         ####     options negotiation. I have only seen this using    ####
  622.         #### VersaTerm Pro 3.6.2 and connecting to myself via telnet ####
  623.  
  624.     /etc/startup.d/ao,as,ae6:
  625.         Ignores the Broadcast Address value in /etc/NETADDRS.
  626.         ***      If your broadcast address needs to be different      ***
  627.         ***   then the default, you'll need to modify these scripts   ***
  628.         ***     to add 'broadcast "$broadcast"' to the 'ifconfig'     ***
  629.         ***     lines that _don't_ refer to Loopback. Pretty easy     ***
  630.         ***           but Email me if you have questions              ***
  631.  
  632.     /usr/include/dir.h:
  633.         If entered through dirent.h and _SYSV_SOURCE is defined,
  634.         rewinddir() is incorrectly "defined". It assumes that you are
  635.         linking -lposix and will use the "real" rewinddir() function
  636.         found there, when, in fact, you should #define rewinddir
  637.         as done with _BSD_SOURCE.
  638.         ***         A hacked version of dir.h is available on         ***
  639.         ***    jagubox.gsfc.nasa.gov. It only assumes -lposix will    ***
  640.         ***      be included (and the real rewinddir() called) if     ***
  641.         ***             _only_ _POSIX_SOURCE is defined               ***
  642.  
  643.     /usr/include/sys/file.h:
  644.         Even though fcntl.h is smart enough to know if sys/file.h has
  645.         been included, and won't redefine things defined in there, the
  646.         reverse isn't true. So if you include sys/file.h 1st and fcntl.h
  647.         next, no warnings will be given, but if you do the reverse, some
  648.         "redefine" warnings will be printed.
  649.         ***         A hacked version of file.h is available on        ***
  650.         ***    jagubox.gsfc.nasa.gov. It checks for __fcntl_h first   ***
  651.         ***  (if you are using 'gcc', you'll also need to snag it's   ***
  652.         ***        fixed header-file from jagubox: GNUfile.h)         ***
  653.  
  654.     /usr/include/sys/param.h:
  655.         MAXHOSTNAMLEN is defined as a ridiculously low value (32). It should
  656.         instead be set to what's "normal": 256.
  657.         ***     Fix is very simple... edit /usr/include/sys/param.h   ***
  658.         ***            and change the value from 32 to 256            ***
  659.         ***  (if you are using 'gcc', you'll also need to edit it's   ***
  660.         ***     include file [gcc/aux/?.?.?/include/sys/param.h]      ***
  661.  
  662.     /usr/include/sys/types.h:
  663.         Incorrectly defines size_t as signed int when every other header
  664.         file defines it as unsigned int.
  665.         ***     Fix is very simple... edit /usr/include/sys/types.h   ***
  666.         ***           and change it from signed to unsigned           ***
  667.  
  668. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  669. Bugs and Fixes|Workarounds: 3.1
  670. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  671.  
  672.     chsh:
  673.         Resets the uid of nobody to 60001 (the MAXUID under 3.1 is 65534,
  674.         but 'chsh' thinks it's 60001).
  675.         ***      Use 'vipw' to change this value back if needed       ***
  676.  
  677. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  678. Bugs and Fixes|Workarounds: 3.0.2
  679. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  680.  
  681.     elap:
  682.         A/UX-mac occasionally disappears under Chooser
  683.         ***            Official 3.0.2 patch is now available          ***
  684.         ***           on aux.support.apple.com in aws95/elap          ***
  685.  
  686. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  687. Performance related patches: 3.0
  688. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  689.  
  690.     MacOS System Heap Expansion:
  691.         Not as robust as the _real_ System 7.0.1 capability, thus pre-
  692.         venting you from loading lots of memory hungry Extensions and
  693.         CDEVs.
  694.         ***             Unofficial replacement is available           ***
  695.         ***                 on jagubox.gsfc.nasa.gov                  ***
  696.         ***           in pub/aux/Apple.fixes/unsupported/3.0          ***
  697.  
  698. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  699. Bugs and Fixes|Workarounds: 3.0
  700. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  701.  
  702.     as, ao, etheraddr:
  703.         H/W ethernet address is burned in bitwise reverse on Q9?0
  704.         and Ethernet NB card. Thus, ao, as and etheraddr reports the
  705.         incorrect address.
  706.         ***                 3.0 patch is now available                ***
  707.         ***         on aux.support.apple.com in supported/3.0         ***
  708.  
  709.     BNU/HDB UUCP (the whole thing):
  710.         Severe problems as distributed, such as inability to dialout
  711.         with correctly configured modem, etc...
  712.         ***                 3.0 patch is now available                ***
  713.         ***         on aux.support.apple.com in supported/3.0         ***
  714.         ***     This "patch" is a newer version of HDB (to 1.16)      ***
  715.         ***         and adds some Mega-enhancements as well.          ***
  716.         ***                Thanks to Earl Wallace!!!                  ***
  717.         #### If you snagged version 1.14 from aux.support.apple.com  ####
  718.         ####       then be _sure_ to update to version 1.16.         ####
  719.         ####                                                         ####
  720.         ####     Installing BNU 1.6 causes syslogd to break under    ####
  721.         ####    new compiles. This is due to the fact that dial.o    ####
  722.         ####   is replaced in libc.a|libc_s.a when BNU is installed  ####
  723.         ####         To fix, just get the replacement dial.o         ####
  724.         ####           on ftp.apple.com in pub/earlw/dial            ####
  725.  
  726.     csh:
  727.         Doesn't seem to like filename completion.
  728.  
  729.     pstat:
  730.         Depending on the options used, can gobble memory and not release
  731.         it.
  732.         ***             Unofficial replacement is available           ***
  733.         ***                 on jagubox.gsfc.nasa.gov                  ***
  734.         ***           in pub/aux/Apple.fixes/unsupported/3.0          ***
  735.  
  736.     rpc.rstatd:
  737.         Doesn't report correct load averages
  738.         ***             Unofficial replacement is available           ***
  739.         ***                 on jagubox.gsfc.nasa.gov                  ***
  740.         ***           in pub/aux/Apple.fixes/unsupported/3.0          ***
  741.  
  742.     serial drivers:
  743.         After some use on all Macs (except IIfx and maybe the Quadras)
  744.         the kernel will crash.
  745.         ***  This has been confirmed by Apple but no fix exists yet!! ***
  746.  
  747.     syslogd:
  748.         If BNU 1.6 is installed, syslogd won't work on newly compiled
  749.         programs due to some munging of libc.a|libc_s.a when BNU 1.6
  750.         is installed. See BNU/HDB UUCP above.
  751.  
  752.  
  753. =========================================================
  754. **** List of ported software available via anon-ftp: ****
  755. ---------------------------------------------------------
  756.  
  757. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  758. Already ported and available:
  759. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  760.  
  761. (Included is the person responsible for the port and the location of the port)
  762.  
  763.     3270 (v3.6):
  764.         Eric C Hagberg          (hagberg@mail.med.cornell.edu)
  765.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  766.  
  767.     Austin KCL (619):
  768.         Thomas Weigert          (weigert@mcs.anl.gov)
  769.         wuarchive.wustl.edu     [???]
  770.  
  771.     bash (1.12):
  772.         John Coolidge           (coolidge@apple.com)
  773.         wuarchive.wustl.edu     [systems/aux/gnu]
  774.  
  775.     cut & paste (BSD versions):
  776.         Ken Whang               (ken@touch.wustl.edu)
  777.         jagubox.gsfc.nasa.gov   [pub/aux/Sys_stuff]
  778.  
  779.     EBBS/BBS 2.2 (UNIX based BBS):
  780.         Jon Stevens             (root@dolphin.csudh.edu)
  781.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  782.  
  783.     emacs 19.21:
  784.         Brent Burton            (brentb@tamsun.tamu.edu)
  785.         isc.tamu.edu            [pub/personal/brentb]
  786.         (The diffs that Brent used, done by Paul Traina, are available
  787.         on jagubox in the emacs diffs "collection" tarchive)
  788.  
  789.     fortune:
  790.         Phillip P. Porch        (root@theporch.raider.net)
  791.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  792.  
  793.     freeWAIS (0.3):
  794.         Jon Stevens             (root@dolphin.csudh.edu)
  795.         jagubox.gsfc.nasa.gov   [pub/aux/Web_stuff]
  796.  
  797.     fvwm (1.21z):
  798.         Renzo Marcanzin         (aire@maya.dei.unipd.it)
  799.         maya.dei.unipd.it       [pub?]
  800.  
  801.     gated (2.1.3)
  802.         Herb Weiner             (herbw@wiskit.rain.com)
  803.         jagubox.gsfc.nasa.gov   [pub/aux/Patches]
  804.  
  805. |   gcc (2.6.0):
  806. |       Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  807. |       John Coolidge           (coolidge@apple.com)
  808. |       jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  809. |       (See Q&A #P.03)
  810.  
  811.     gdb (4.12):
  812.         John Coolidge           (coolidge@apple.com)
  813.         wuarchive.wustl.edu     [systems/aux/gnu]
  814.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  815.  
  816.     GNUplot (3.5):
  817.         Eric Rosen              (eric@cse.ucsc.edu)
  818.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  819.  
  820.     GNUtar (1.11.2):
  821.         Dennis Govoni           (dennis.govoni@East.Sun.COM)
  822.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  823.  
  824.     GNUzip (1.2.4):
  825.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  826.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  827.  
  828.     httpd (1.3):
  829.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  830.         jagubox.gsfc.nasa.gov   [pub/aux/Web_stuff]
  831.  
  832.     inetd (BSD/Reno)
  833.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  834.         John Coolidge           (coolidge@apple.com)
  835.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  836.  
  837.     last (BSD version):
  838.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  839.         Ken Whang               (ken@touch.wustl.edu)
  840.         jagubox.gsfc.nasa.gov   [pub/aux/Sys_stuff]
  841.  
  842.     lemacs (19.6):
  843.         Thomas Eberhardt
  844.         labrea.Stanford.EDU     [pub/gnu/lucid]
  845.         <<ED: I don't think it's there anymore... anybody know
  846.           where a copy might be?>>
  847.  
  848.     libg++ (2.5.3):
  849.         John Coolidge           (coolidge@apple.com)
  850.         wuarchive.wustl.edu     [systems/aux/gnu]
  851.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  852.  
  853.     logging in.ftpd:
  854.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  855.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  856.         (See Q&A #A.06)
  857.  
  858.     md5:
  859.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  860.         jagubox.gsfc.nasa.gov   [pub/aux/Security]
  861.  
  862.     Mosaic (diffs for 2.2):
  863.         Eric Rosen              (eric@cse.ucsc.edu)
  864.         jagubox.gsfc.nasa.gov   [pub/aux/Web_stuff]
  865.  
  866.     Mosaic (2.4 binary):
  867.         jagubox.gsfc.nasa.gov   [pub/aux/Web_stuff]
  868.  
  869.     msgs:
  870.         Phillip P. Porch        (root@theporch.raider.net)
  871.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  872.  
  873.     mt2 (replacement for 'mt' tape positioner program... not really
  874.       needed since NEWtc is available that fixes the need for mt2):
  875.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  876.         jagubox.gsfc.nasa.gov   [pub/aux/Sys_stuff]
  877.  
  878.     mtools (MS DOS floppy access tools):
  879.         Parag Patel             (parag@netcom.com)
  880.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  881.  
  882.     patch:
  883.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  884.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  885.  
  886.     perl (4.036):
  887.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  888.  
  889.     pine 3.90:
  890.         Phillip P. Porch        (root@theporch.raider.net)
  891.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  892.  
  893.     popper:
  894.         Ben Goren               (ben@tux.fa.asu.edu)
  895.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  896.  
  897.     sendmail 5.65:
  898.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  899.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  900.         (See Q&A #C.02)
  901.  
  902.     sendmail.cf:
  903.         Alexis Rosen            (alexis@panix.com)
  904.         jagubox.gsfc.nasa.gov   [pub/aux/UUCP-sendmail-cf]
  905.         (See Q&A #A.06)
  906.  
  907. +   shadow-passwd:
  908. +       Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  909. +       jagubox.gsfc.nasa.gov   [pub/aux/Sys_stuff]
  910.  
  911.     showaudio:
  912.         Eric Rosen              (eric@cse.ucsc.edu)
  913.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  914.  
  915.     smail 3.1.28:
  916.         Bob Denny               (denny@alisa.com)
  917.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  918.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  919.  
  920.     talk and talkd (BSD 4.3 versions)
  921.         Steve Green             (xrsbg@dirac.gsfc.nasa.gov)
  922.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  923.         (See Q&A #C.05)
  924.  
  925.     tcsh (6.03):
  926.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  927.  
  928.     texinfo (3.1):
  929.         Phillip P. Porch        (root@theporch.raider.net)
  930.         jagubox.gsfc.nasa.gov   [pub/aux/GNU_stuff]
  931.  
  932.     vtwm (5.1):
  933.         Dennis Govoni           (dennis.govoni@East.Sun.COM)
  934.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  935.  
  936.     WUARCHIVE ftpd (2.4):
  937.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  938.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  939.         (See Q&A #A.06)
  940.  
  941.     X11R5:
  942.         John Coolidge           (coolidge@apple.com)
  943.         Thomas Eberhardt
  944.         wuarchive.wustl.edu     [systems/aux/X11R5]
  945.         ftp.uni-stuttgart.de    [soft/mac/aux/x11r5/forAUX3.0]
  946.         (See Q&A #P.02)
  947.  
  948.     xmeter:
  949.         Eric Rosen              (eric@cse.ucsc.edu)
  950.         jagubox.gsfc.nasa.gov   [pub/aux/Utilties]
  951.  
  952.     xntpd (3.3zd):
  953.         Jim Jagielski           (jim@jagubox.gsfc.nasa.gov)
  954.         John Dundas III         (dundas@salt.jpl.nasa.gov)
  955.         jagubox.gsfc.nasa.gov   [pub/aux/Daemons]
  956.  
  957.     zmodem:
  958.         Jon Stevens             (root@dolphin.csudh.edu)
  959.         jagubox.gsfc.nasa.gov   [pub/aux/Utilities]
  960.  
  961. ~~~~~~~~~~~
  962. Easy to do:
  963. ~~~~~~~~~~~
  964.  
  965. The following have also been successfully ported to A/UX with minimal trouble.
  966. Since the ports are pretty straightforward, only a few are actually available
  967. in their ported form (please see Q&A #P.01).  Please note that most of these
  968. require or assume using 'gcc.'
  969.  
  970. << ED: As a general rule of thumb, most of the ports that I've done use
  971.        gcc and GNUmake... provided patches may assume or require these >>
  972.  
  973.     o  Cnews (Ver. ??)
  974.     o  Deliver (v2.1 pl. 9 or later)
  975.     #  Elm 2.4.23
  976.          (use -lbsd and edit config.sh and "undef" d_locale or else
  977.       follow the advice of P.08, below)
  978.     o  Ghostscript 2.3
  979.     #  GNU Stuff (all are pretty much straight-forward and compile
  980.        "right out of the box"):
  981.          binutils 1.9
  982.     #    bison 1.22
  983.     #    diffutils 2.3
  984.          emacs 19.[19-22]
  985.            (diffs on jagubox in the emacs diffs "collection" tarchive)
  986.     #    fileutils 3.6
  987.     #    find 3.8
  988.            (to allow 'find' to recognize user=nobody, compile with 'cc')
  989.          flex 2.3.7
  990.          gawk 2.1.5
  991.            (use '-traditional' with gcc)
  992.     #    gdbm 1.7.1
  993.     #    grep 2.0
  994.     #    gzip 1.2.4
  995.     #    indent 1.9.1
  996.     #    make 3.71
  997.     #    sed 1.1.6
  998.     #    sed 2.0.3
  999.          shellutils 1.8
  1000.          Smalltalk 1.1.1
  1001.     #    tar 1.11.2
  1002.            (requires '-lbsd -lposix')
  1003.     #    textutils 1.6
  1004.     #  gopher/gopherd 2.016 [from boombox.micro.umn.edu]
  1005.          (diffs available on jagubox)
  1006.     o  Gwm 1.7h
  1007.     #  httpd 1.3 [from ftp.ncsa.uiuc.edu]
  1008.          (binary and diffs available on jagubox)
  1009.     o  INN 1.4 (get 'INN.config.data' files from jagubox)
  1010.          Please note that INN is an _extreme_ memory hog, esp.
  1011.          when compiled using gcc. If you use it, be _sure_
  1012.          that you have enough memory and swap space. It helps
  1013.          a LOT if you don't run the Finder interface as well.
  1014.     #  less 177
  1015.     #  listproc 6.0c (was: listserv)
  1016.          (compile w/ -DDONT_GO_INTERACTIVE; and use GNUmake)
  1017.     #  lynx 2.3 [from FTP2.cc.ukans.edu]
  1018.          (diffs available on jagubox)
  1019.     #  NetHack
  1020.     #  nn 6.4.18
  1021.          (A/UX configuration file available on jagubox)
  1022.     #  nn 6.5.0(b3)
  1023.          (A/UX configuration file available on jagubox)
  1024.     #  nntp 1.5.11
  1025.     #  perl 4.035
  1026.          (use '-lm -lPW -ldbm -lbsd', get "fixed" dir.h to
  1027.          avoid needing -lposix for rewinddir(), use gcc if
  1028.          possible, make sure d_voidsig is correct ("define" if
  1029.          using ANSI, "undef" if not), and undef d_ndbm while
  1030.          defining d_dbm in config.sh).
  1031.     #  perl 4.036
  1032.          (Don't answer "aux" but instead let the configure script
  1033.          work it's magic -- hints for 4.035 also apply)
  1034.     #  portmap ("secure" version on ftp.win.tue.nl).
  1035.     #  rn 4.3.54
  1036.     #  rn 4.4.1
  1037.     o  SB Prolog 3.1
  1038.          (minor changes in the builtin directory)
  1039.     #  smail 3.1.28
  1040.          (get the AUXsmail.tar.gz file on jagubox for
  1041.          A/UX diffs and patches)
  1042.     #  tcpd 6.3 [from ftp.win.tue.nl]
  1043.     #  tcsh (compiles out of the box)
  1044.     #  trn 3.0
  1045.     #  xntpd (see above)
  1046.  
  1047.  
  1048. ========================================================
  1049. **** Partial list of compatible shareware|freeware  ****
  1050. --------------------------------------------------------
  1051.  
  1052. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1053. Popular shareware|freeware:
  1054. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1055.                 ++++ This is by No Means a complete list!!! ++++
  1056.  
  1057.     o  BBEdit Lite (2.31) - _really_ nice and good replacement for TextEditor
  1058.         (see Hints and Words Of Wisdom)
  1059.     o  CFloppy (1.0)
  1060.     o  ColorSwitch (2.3.0)
  1061.     o  Disinfectant INIT (3.5)
  1062.     o  DiskDup+ (2.52) - works better than DiskCopy and MountImage
  1063.     o  Extension Manager (1.8 and later)
  1064.     o  Facade (1.x)
  1065.     o  File Buddy (2.2.1)
  1066.     o  FMbackup 1.0.4  (prevents having to totally rebuild Desktop when A/UX
  1067.         crashes... See Q&A #M.10)
  1068.     o  GateKeeper (1.3) - For some reason, "Show Log" doesn't work although
  1069.         log entries _are_ made. Chris Johnson knows about this and is
  1070.         looking into it.
  1071.     o  Gregs Buttons (3.3)
  1072.     o  MacsBug (6.2.x)
  1073.     o  Maelstrom (1.40) - crashes sometimes, but heck it does that under MacOS
  1074.         as well :)
  1075.     o  MenuChoice (2.0)
  1076.     o  NewLook (2.0)
  1077.     o  Solarian II (1.04)
  1078.     o  Windows (2.1)
  1079.  
  1080. ~~~~~~~~~~~~~~~~~~~
  1081. Popular commercial:
  1082. ~~~~~~~~~~~~~~~~~~~
  1083.  
  1084. The following is a _very_ short list of some known compatible 3rd party
  1085. applications, CDEVs, Extensions, etc... This is by no means a complete list
  1086. since the vast majority of MacOS programs work just fine under A/UX (see
  1087. Q&A #M.01). But the following ones are kinda popular and they get asked about
  1088. alot:
  1089.  
  1090.     o  Access PC (2.0) (v3.0 is NOT recommended for A/UX)
  1091.     o  After Dark (2.0u and later) - some displays don't have enough
  1092.         memory to work so the default (low memory) one comes up
  1093.     o  America Online (even the TCP/IP version)
  1094.     o  ATM 2.0.3
  1095.     o  ATM 3.0
  1096.     o  Directory Assitance II (from Norton Utilities)
  1097.     o  DOS Mounter (3.00) - but _boy_ does it slow down floppy disk access!
  1098.     o  FrameMaker
  1099.     o  Illustrator 3.2
  1100.     o  MicroSoft Excel
  1101.     o  MicroSoft PowerPoint
  1102.     o  MicroSoft Word
  1103.     o  Now Utilities 4.0.2
  1104.  
  1105.         Super Boomerang doesn't seem to like 3.0)
  1106.  
  1107.     o  PC Exchange (1.0.3 and later)
  1108.     o  Photoshop 2.0.1 <mostly> (Gamma, which is included, does _not_ work)
  1109.     o  Premiere 1.0
  1110.     o  Soft PC (Regular, Professional and Windows)
  1111.     o  Square One v2.0 (good replacement for Super Boomerang)
  1112.     o  StrataVision 3D 2.6.1 (requires the patch located via anon-ftp
  1113.         on jagubox in pub/aux/Patches)
  1114.     o  Streamline 2.0 <mostly... not 32-bit clean>
  1115.     o  StuffIt (and all permutations such as Expander, Deluxe, etc...)
  1116.     o  Timbuktu Pro (all other versions including v5 have problems)
  1117.     o  Type Reunion 1.3
  1118.     o  VersaTerm Telnet (etc...) Tool
  1119.  
  1120.  
  1121. ====================================
  1122. **** Hints and Words Of Wisdom: ****
  1123. ------------------------------------
  1124.  
  1125. o Depending on your setup, A/UX allocates either 10% or 50% of memory for disk
  1126.   buffers (that is, the value of 'NBUF' is either 0 or -1... see kconfig(1M))
  1127.   [The kernel for the AWS95 has, by default, a NBUF value of -1 whereas
  1128.   "everyone else" has NBUF = 0]. If you have a lot of RAM and A/UX is only
  1129.   allocating 10%, you can greatly increase system performance by increasing
  1130.   the allotment. However, you cannot use kconfig to specify "20%" but you must
  1131.   give it an actual number to use. The way to determine the number of buffers
  1132.   being used, run "pstat -m". This will give you the number of buffers that
  1133.   are currently allocated. For example, if the value is 1000, then you know
  1134.   that to increase the number of buffers to 20%, you must use 'kconfig' to set
  1135.   'NBUF' to 2000. Under 3.0.2 (and later), you can use the Memory cdev (as
  1136.   root) to do this as well. In fact, this is the recommended way.
  1137.  
  1138.   Please note that if you change the amount of RAM you have, you'll need to
  1139.   change the value of 'NBUF.' I suggest that before you add|remove RAM, you
  1140.   use 'kconfig' to reset 'NBUF' to 0, then do the RAM change and see how your
  1141.   system performance is. If needed, you can then use the above to increase
  1142.   (or decrease) the number of disk buffers.
  1143.  
  1144. o You can run A/UX on the original MacII, however the PMMU chip must be
  1145.   installed. You can also use one of the many 68030 upgrades for the MacII,
  1146.   such as the Marathon '030, but the MacII ROMs won't recognize the PMMU
  1147.   capabilities onboard the CPU. You'll need to get the MacII FDHD ROM Upgrade
  1148.   Kit. This kit replaces your ROMs with IIx ROMs, thus enabling you (and
  1149.   A/UX) to use the upgrade. The kit also replaces your SWIM chip (floppy
  1150.   controller) enabling you to use FDHD disks (if such a drive is installed)
  1151.   too... thus the name of the kit. This kit can be had for about $120 although
  1152.   some dealers also include a FDHD drive as well, bumping the price up to
  1153.   about $430.
  1154.  
  1155. o You can configure the built-in serial ports for hardware handshaking
  1156.   (RTS & DTS) _or_ dialup security (DTR & CD) but not both, due to the
  1157.   lack of a sufficient number of modem control lines.
  1158.  
  1159. o When using ftp, unless you are _sure_ that a file is, in fact, a true
  1160.   Text file, set the ftp mode to Binary. This is especially true when
  1161.   downloading GIFs and "true" Mac files. If it's a BINHEXed file or a
  1162.   uuencoded file, then you can specify Ascii mode (in some cases, it's
  1163.   required). If the file you wish to download has the ".tar" or ".Z" suffix,
  1164.   then you _need_ Binary; if the suffix is ".uu" or ".hqx" then use Ascii.
  1165.   If you are using a MacOS-ftp utility, then using MacBinary may confuse A/UX
  1166.   (well, the Unix side of it). If the file is a tar file (for example),
  1167.   compressed or not, MacBinary attaches some MacOS "information" to the file
  1168.   that tar can't handle. Use 'fcnvt' to change the file to Apple Double to
  1169.   "strip" this extra by separating the forks:
  1170.   
  1171.     $ fcnvt -v -d <input.file> <output.file>
  1172.  
  1173.   To avoid having A/UX attempt the CR->NL change when copying the file over to
  1174.   A/UX, change the Creator to "A/UX" and Type to "BIN " before drag-copying
  1175.   the file.
  1176.  
  1177.   So, the flow should be as follows:
  1178.  
  1179.     o Set the file's Creator and Type to something safe ("A/UX"
  1180.       and "BIN ") to avoid CR->NL translation.
  1181.     o Drag copy over to A/UX.
  1182.     o Use 'fcnvt' to convert file to Apple Double format.
  1183.     o Use UNIX utilties as normal.
  1184.  
  1185. o To download GIF files via anon-ftp, be sure to specify Binary mode. Then
  1186.   use 'setfile' to create the correct Type and Creator fields (for, example,
  1187.   for Giffer use 'setfile -t"GIFf" -c"Bozo"'). You can then keep this file
  1188.   on your A/UX disk or transfer it over to your MacOS disk (See Q&A #M.07).
  1189.  
  1190. o If you want to rebuild the "/" desktop, be _sure_ to avoid circular
  1191.   symbolic links (links to "." and/or "..") or else you'll be waiting a
  1192.   looooong time. In a similar way, make sure that you don't have NFS volumes
  1193.   mounted because they will add a LOT to the time required to rebuild the
  1194.   Desktop...
  1195.  
  1196. o With the newest version of HDB UUCP (1.16 - see above), use the "-u"
  1197.   option on 'getty' to keep /dev/tty?? settings sane. Also use the "-t" option
  1198.   with a value like 60 or so to make getty hang up a hung login attempt.
  1199.  
  1200. o If your A/UX setup is a true multi-user system, or, at the least, has
  1201.   Guest as an active account, it is a Very Good Idea to give each user their
  1202.   own personal System Folder (use 'systemfolder'). This is _very_ true for
  1203.   root! As root, you should also avoid using the global System Folder
  1204.   (mac/sys/System Folder) as an alternate Sys. Folder... there's very little
  1205.   need to do so anyway.
  1206.  
  1207.   Oh yeah... you can't just copy /mac/sys/System Folder to something like
  1208.   $HOME/System Folder... you must use 'systemfolder' and add/change/delete
  1209.   things as required.
  1210.  
  1211. o It's very easy to replace TextEditor as your Finder-double-click text
  1212.   editor. All you need to do is copy the application to /mac/bin (make sure
  1213.   that it's permissions are 755 bin|bin), edit /etc/profile and /etc/cshrc
  1214.   to change FINDER_EDITOR to point to the application. Now, A/UX text files
  1215.   will show up as that application's filetype. An _excellent_ replacement is
  1216.   BBEdit Lite (v 2.31). It is really recommended!
  1217.  
  1218. o A/UX's 'login' supports additional dialup security. This is enabled by
  1219.   creating|editing two files: /etc/dialups and /etc/d_passwd. The format of
  1220.   /etc/dialups is a list of ports that you want to have dialup passwds. eg:
  1221.  
  1222.     /dev/tty0
  1223.     /dev/tty10
  1224.  
  1225.   The format of /etc/d_passwd is a list which associates a password with
  1226.   a login program (which is the last field in /etc/passwd). eg:
  1227.  
  1228.     /bin/sh:&nk7h7ak92j3H:
  1229.     /bin/ksh:8hw$jK4ft92jx:
  1230.     /bin/csh::
  1231.     /usr/lib/uucp/uucico::
  1232.  
  1233.   In this case, if anyone attempts to login on ports tty0 or tty10 and are
  1234.   using 'ksh' or 'sh', they'll get asked for a secondary (dialup) password.
  1235.   Users using 'csh' or 'uucico' will not. All other logins that use login
  1236.   programs not entered in /etc/d_passwd (like, for example,
  1237.   /usr/local/bin/bash) will _not_ be allowed to login on the "secure" port.
  1238.  
  1239. o If you want to install a program that uses a "complex" installation
  1240.   procedure (like for Canvas, Word, Stuffit, etc...) then you should not
  1241.   try to do a fresh install under A/UX. Instead, install under the real MacOS,
  1242.   reboot A/UX and then install needed files to your A/UX System Folder.
  1243.   Programs that, when installed, hack around with the System (beyond things
  1244.   like Fonts) itself, most probably won't work under A/UX, since you really
  1245.   can't patch System (unless you are handy with ResEdit and know exactly
  1246.   what resources to add|change... even then, you are taking a chance...)
  1247.  
  1248. o If you get an error message to the effect that you have a bad SuperBlock
  1249.   when doing a 'fsck' on a disk, try having 'fsck' use another SuperBlock.
  1250.   Block #16 is always an alternate SuperBlock block, so you can try:
  1251.  
  1252.     $ fsck -b 16 /dev/rdsk/cxxxxxxxx
  1253.  
  1254. o A/UX has two versions of the setpgrp() call. The first is the standard
  1255.   SysV version and takes no arguments. The other is the standard BSD version
  1256.   and takes 2 arguments (setpgrp(pid, gpid)). However, if, when porting
  1257.   programs, you have added the 'set42sig()' call, or link with -lbsd, then
  1258.   you _must_ use the 2nd form (actually, the 2nd form is required whenever
  1259.   COMPAT_BSDTTY and COMPAT_BSDSIGNALS are set); the 1st form will usually
  1260.   fail. A non-portable way of handling this is always calling setpgrp() as
  1261.   follows:
  1262.  
  1263.     setpgrp(0, getpid());
  1264.  
  1265.   Now, no matter what the compatibility flags are, the function will work
  1266.   ('cc' and 'gcc' under A/UX presently ignores the passed arguments when the
  1267.   no-argument version is called).
  1268.  
  1269. o It's always a Good Idea to keep "original" stuff separate from locally
  1270.   added or modified stuff. '/usr/local' is a very good place for this.  To
  1271.   add manual pages to this location, create a '/usr/local/man' directory.
  1272.   Now make a symbolic link from '/usr/catman/L_man' to '/usr/local/man'. This
  1273.   does two things: (1) Allows 'man' to search down the '/usr/catman' directory
  1274.   to find your local man pages while keeping the actual data under
  1275.   '/usr/local'; (2) The local man-page set will be searched first (due to
  1276.   the name L_man) as would be desired. If you _really_ want, you can also
  1277.   make '/usr/local/catman' a link to '/usr/local/man'.
  1278.  
  1279. o If you've added a number of additional man pages, you may want to snag the
  1280.   'man-utils' package on jagubox.gsfc.nasa.gov. It includes a collection of
  1281.   programs and scripts that make viewing, installing and making man pages
  1282.   easier. Also includes a replacement for '/usr/bin/man'.
  1283.  
  1284. o Some 'configure' scripts may fail due to some line-length and symbol-length
  1285.   limitations in /bin/sh (you'll see something like a "symbol too long"
  1286.   error). You can get around this by changing the script type from:
  1287.  
  1288.     #!/bin/sh
  1289.  
  1290.   to:
  1291.  
  1292.     #!/bin/ksh
  1293.  
  1294.   to run them as 'ksh' scripts... In fact, I personally think it's better
  1295.   to run _all_ 'sh' scripts as 'ksh' scripts if possible ;)
  1296.  
  1297. o IMHO, Courier and Monaco really don't look that nice for CommandShell
  1298.   windows. Monoca is too plain and Courier takes up too much room on the
  1299.   window (and with both, it's hard to see "."s, hard to tell the difference
  1300.   between "O" and "0", etc...). I use a font called CSFont here on jagubox.
  1301.   It's a tweaked version of the old, original Courier bitmaps that Apple
  1302.   used to provide. I really like it. It's available via anon-ftp here on
  1303.   jagubox in /pub/aux/Misc_stuff. I'm currently working on tweaking a
  1304.   Bold version of CSFont... stay tuned :)
  1305.  
  1306. o If you are doing any in-depth porting, then do yourself a favor and snag
  1307.   a copy of libUTIL.a from jagubox. libUTIL.a is a collection of many
  1308.   functions that aren't included in the standard A/UX libraries, but are
  1309.   needed (or very useful) when porting (esp. BSD sources or ANSI stuff). Some
  1310.   examples of included functions are memmove(), strerror(), strdup() and
  1311.   more. If you have a suggested function to include, let Jim Jagielski
  1312.   (jim@jagubox.gsfc.nasa.gov) know.
  1313.  
  1314.  
  1315.  
  1316. ==============
  1317. **** Q&A: ****
  1318. --------------
  1319.  
  1320. :::::::::::::::::::::::::::::
  1321. ::::: GENERAL QUESTIONS :::::
  1322. :::::::::::::::::::::::::::::
  1323.  
  1324. ===================================
  1325. G.01)  What's A/UX? Is it any good?
  1326. -----------------------------------
  1327.  
  1328. A/UX is Apple's implementation of Unix (it's Apple's UNix) for various
  1329. Macintosh computers. A/UX merges two computing environments, Unix and the
  1330. Macintosh Finder OS, and provides the full functionality of both.
  1331.  
  1332. A/UX is based on AT&T Unix System V.2.2 with numerous extensions from V.3, V.4
  1333. (such as streams) and BSD 4.2/4.3 (such as networking, the Fast File System,
  1334. job control, lpr, NFS with Yellow Pages, SCCS and sendmail 5.64).  It also
  1335. provides full POSIX compliance. A/UX provides SYSV, BSD and POSIX compatiblity
  1336. switches and libraries. A/UX is fully compiant with the System V Interface
  1337. Definition (SVID).
  1338.  
  1339. A/UX provides all three standard shells: sh, csh and ksh. X-Windows is also
  1340. provided standard.
  1341.  
  1342. A/UX 3.x.x incorporates System 7 for the Macintosh allowing for the use of
  1343. the vast majority of Macintosh applications under A/UX. System7 and Unix
  1344. and fully integrated under A/UX 3.x.x with the Unix file system being seen as
  1345. a disk drive by the Finder.
  1346.  
  1347. There are quite a few people who feel that A/UX is a near-perfect implemen-
  1348. tation of Unix. Of course, every operating system (even AIX!) has it's share
  1349. of devotees, so that's not a very valid scale of whether the system is any
  1350. good. A/UX _is_ Unix... it's not some form of pseudo-Unix. It insulates the
  1351. user from Unix, if required, but the System Administrator will need to become
  1352. Unix-aware. Furthermore, if you want straight Unix, you can get it... it's
  1353. not a chore to bypass all the "gingerbread." People may also complain that
  1354. A/UX is based on an "obsolete" version of AT&T Unix (V.2.2). In many ways,
  1355. Apple's extensions make A/UX very V.3-like (V.3 is in many ways an enhanced
  1356. V.2... it even uses the V.2 kernel)... The list of extensions to A/UX are
  1357. impressive. Compare what you get standard with other systems and you'll be
  1358. shocked! On some, 'cc', 'f77', NFS, etc... are costly options.
  1359.  
  1360. The main consideration (and opposition) to A/UX is the platform it runs on:
  1361. The Macintosh. Some consider this a boon, others a bust. At present, Apple's
  1362. top-level workstation is the Quadra 800, a 33MHz 68040 based system. Some
  1363. consider this obsolete; others consider it overkill; others consider it, like
  1364. Goldilocks, "just right."
  1365.  
  1366. If you need super-fast state-of-the-art number crunching capability then A/UX
  1367. may not be for you... the Q800 benchmarks at maybe 10-16 SPECmarks (depending
  1368. on compiler used, external cache size, etc...) and you can get lots faster
  1369. with other platforms. Of course, you'll have to "settle" for their operating
  1370. systems, but if you need it, then that's how you'll get it.  Of course, this
  1371. doesn't mean that A/UX "crawls"...
  1372.  
  1373. There are very few people who need this type of performance though. If you
  1374. need (or just _want_ ) a Unix workstation with the speed and power of Unix
  1375. and the user interface and application selection of the Macintosh then A/UX
  1376. is the way to go. In many, many ways, A/UX is the Unix "for the rest of
  1377. us"... even if we are long-time Unix junkies. If you love the Mac, you'll
  1378. love A/UX; if you love Unix, you'll love A/UX... and if you want a near-
  1379. perfect marriage of the two, then you'll love A/UX.
  1380.  
  1381. Yes, A/UX is good... very, very good :)
  1382.  
  1383. ========================================================================
  1384. G.02)  What's the minimum system I need (CPU, disk and RAM) to run A/UX?
  1385. ------------------------------------------------------------------------
  1386.  
  1387. A/UX 3.0 works on the MacII (with PMMU _or_ 68030 upgrade with FDHD ROM's
  1388. installed), IIx, IIcx, IIci, IIfx, SE/30, IIsi (with 68882 chip) and the
  1389. Quadra 700|900|950 computers. A/UX 3.0.1 adds support for the Q800 and Centris
  1390. Machines (the Centrises _must_ have the real 68040 w/FPU - See Q&A #G.03).
  1391. A/UX does not support the ClassicII, PowerBook, Duo or LC families.  A/UX
  1392. does _not_ work on the new 840av and 660av machines but will run on the new
  1393. Quadra 610 and 650s (recall that A/UX requires the _real_ 68040 chip!) with
  1394. a little bit of work:
  1395.  
  1396.   You should make a copy of the A/UX Install Boot floppy and then copy the
  1397.   Enabler for the Q610|650 onto this copy. You then boot up from this floppy
  1398.   and install A/UX as usual. Finally, you'll need to copy the Q610|650
  1399.   Enabler onto the A/UX MacPartition (or whatever MacOS disk you will use
  1400.   when starting up your Mac and booting A/UX); do this by first booting off
  1401.   a boot floppy or boot CD and then copy the Enabler over. You do _not_ need
  1402.   to make any changes to the A/UX System Folder (i.e. the System Folder used
  1403.   under A/UX).
  1404.  
  1405. Recall that A/UX _is_ UNIX and thus contains some very hardware specific
  1406. drivers. It's for this reason (and not Apple not doing things correctly) that
  1407. A/UX won't work on newly released platforms. To support a new platform, at
  1408. least _some_ work (and possibly extensive work in some cases) must be done.
  1409.  
  1410. If you really want to cut it close, 8MB RAM and an ENTIRE 80MB hard disk will
  1411. just make it. You'll have little room for user files (unless you clear out
  1412. some space by removing /games and maybe /catman) and depending on your
  1413. workload, may suffer from low performance (due to swapping... you may even
  1414. encounter the infamous swap messages :)
  1415.  
  1416. A much better system would be 16MB of RAM and about 200MB of disk space.
  1417. This would give you much more room to grow as well as sufficient RAM to
  1418. increase your performance (assuming that you tune some kernel parameters).
  1419. All in all, more RAM is prefered: 20MB (or more) is ideal.
  1420.  
  1421. ===================================
  1422. G.03)  What's new about A/UX 3.x.x?
  1423. -----------------------------------
  1424.  
  1425. A/UX 3.x.x incorporates the full functionality of System7. It supports the
  1426. QuickTime multimedia extension and the new Mac Quadra computers (not the AV
  1427. machines, however). A/UX 3.x.x includes X11R4 in it's distribution, as well
  1428. as MacX. Installation of A/UX is much easier that it was before and can be
  1429. installed on any 3rd party hard disk using the "new and improved" HD Setup
  1430. application (see Q&A #A.16 though).
  1431.  
  1432. 3.0.2 is a later version of A/UX. 3.0.1 added support for the Q800 and
  1433. the Centris machines (650 and 610) as long as they have the _real_ 68040 chip
  1434. (68RC040) installed (Support for the C650 is official; support for the C610,
  1435. which _requires_ the 040 be replaced since none have the required one
  1436. installed, is non-official but known and verified). A/UX 3.0.2 will also run
  1437. on the new Quadra 610 and 650; see G.02 to see how. To get 3.0.2, you'll need
  1438. to install 3.0.1 and then apply the AWS Tune-Up 1.0 to upgrade to 3.0.2. This
  1439. upgrade is free.
  1440.  
  1441. 3.1 is the latest version of A/UX. 3.1 greatly improves performance and
  1442. reliability as well as fixes some bugs. It does not, however, add support for
  1443. any other Macs. 3.1 is "tweaked" for the AWS95, but can be run on other
  1444. non-AWS95 Macs as well (see Q&A G:09).
  1445.  
  1446. 3.0.1, in addition to supporting newer Macs, provides performance boosts, bug
  1447. fixes, better Finder emulation and other enhancements over 3.0. 3.0.2 does
  1448. the same for 3.0.1. The upgrade from older versions of A/UX to 3.0.2 really
  1449. _is_ worth the pretty small amount of money required. 3.0.2 is a better and
  1450. more solid performer, both UNIX-wise and Finder-wise, than it's predecessors.
  1451. 3.1 requires 3.0.1|3.0.2 and provides much better performance and should be
  1452. seriously considered!
  1453.  
  1454. ====================================================
  1455. G.04)  What's the diff between 3.0.2 and 3.0.2(wgs)?
  1456. ----------------------------------------------------
  1457.  
  1458. 3.0.2 is an exact binary-copy of 3.0.2(wgs) (which is the version of A/UX
  1459. for the WGS 95 server) except for some minor cosmetics and the exclusion of
  1460. the server-related applications. This includes RetroSpect for A/UX (see Q&A
  1461. #E.03). Some of the major differences between 3.0.2 and 3.0.2(wgs) include:
  1462.  
  1463.     o Buffer cacher size (default kconfig parameters)
  1464.     o Packages installed during Easy Install
  1465.     o Swap space size on Easy Install
  1466.     o Autologin enabled in 3.0.2(wgs)
  1467.     o lpr daemon on in 3.0.2, off in 3.0.2(wgs)
  1468.     o Partition choices in HDSC SetUp
  1469.  
  1470. As you can see, they are all related to how the system is setup...
  1471.  
  1472. ============================
  1473. G.05)  How can I order A/UX?
  1474. ----------------------------
  1475.  
  1476. A/UX is available preinstalled on Mac systems or on CD-ROM. To find the
  1477. nearest A/UX reseller, call 1-800-538-9696. You'll need access to a compatible
  1478. CD-ROM drive to install A/UX (or a friendly dealer if you go that route).
  1479. Please note that at the present, you can only order 3.0.1; you'll then need
  1480. to apply the AWS Tune-Up 1.0 (available on jagubox and aux.support.apple.com)
  1481. to upgrade up to 3.0.2.
  1482.  
  1483. The part numbers (and suggested retail price) for 3.0.1 are (US and Canada):
  1484.  
  1485.     M0598LL/C     A/UX 3.0.1 CD-ROM product                 ($795)
  1486.                   (contains Essential Manuals)
  1487.     M0597LL/B     A/UX 3.0.1 Essential Manuals              ($329)
  1488.     M0430LL/B     A/UX 3.0.1 Programmers Manuals            ($329)
  1489.     M0431LL/B     A/UX 3.0.1 Administrators Manuals         ($329)
  1490.  
  1491.     M0599LL/C     A/UX 3.0.1 Update (updates previous       ($250)
  1492.                   versions to 3.0.1)
  1493.     M0489LL/B     A/UX 3.0.1 Programmers Manual Update      ($285)
  1494.     M0490LL/B     A/UX 3.0.1 Admin. Manual Update           ($285)
  1495.  
  1496. If you are interested in upgrading your Q950 to the Apple WGS-95 Server
  1497. (which uses A/UX 3.0.1) here are the part numbers (with SRP):
  1498.  
  1499.     M6940Z/A      WGS 95 PDS Upgrade Kit                     ($2499)
  1500.     M6945Z/A      WGS 95 PDS + DAT Upgrade Kit               ($4399)
  1501.  
  1502. By the way, MacWarehouse is now selling the A/UX 3.0.1 CD-ROM package for
  1503. $619... Their phone number is 1-800-255-6227; ask for part#SYS0009.
  1504.  
  1505. To get 3.0.2, you need to snag the AWS Tune-Up 1.0 DiskCopy image files from
  1506. aux.support.apple.com or jagubox and apply the patches. Although the Tune-Up
  1507. is called AWS, it's really for _all_ A/UX users. Note that you need 3.0.1 to
  1508. upgrade to 3.0.2.
  1509.  
  1510. If you want to upgrade to 3.1, please see Q&A G.09.
  1511.  
  1512. ==============================================
  1513. G.06)  What's the upgrade path for A/UX 3.0.2?
  1514. ----------------------------------------------
  1515.  
  1516. You can upgrade to 3.0.2 (from any other version of A/UX) by purchasing the
  1517. A/UX 3.0.1 CD-ROM Product Upgrade (Apple part # MO599LL/C). The suggested
  1518. price is $250. You then need to snag the AWS Tune-Up 1.0 disks to upgrade
  1519. 3.0.1 to 3.0.2.
  1520.  
  1521. It's recommended that if you do upgrade, that you completely repartition
  1522. your disk via the Installer for two reasons:
  1523.  
  1524.     1. The default (suggested) partition sizes have changed
  1525.  
  1526.     2. You install 3.0.1 on a "clean" system.
  1527.  
  1528. If you want to upgrade to 3.1, please see Q&A G.09.
  1529.  
  1530. ============================================================
  1531. G.07)  What are Right-To-Copy and Right-To-Upgrade licenses?
  1532. ------------------------------------------------------------
  1533.  
  1534. If you have bought at least one copy of A/UX 3.0.x and you have other Mac
  1535. CPUs that you would like to install A/UX on, you don't need to reorder the
  1536. entire product. You can order a Right-To-Copy license for each Mac you want
  1537. to install A/UX on and then copy your A/UX to that Mac. This is cheaper than
  1538. buying a whole new CD-ROM package. It's not right to copy unless you have a
  1539. Right-To-Copy.
  1540.  
  1541. If those other Macs are already running A/UX, but an older version, then you
  1542. need to order a Right-To-Upgrade license for each one you want to upgrade.
  1543. As above, you then copy your 3.0.x over to that Mac.
  1544.  
  1545. Note that in both cases, you must have purchased at least 1 copy of A/UX
  1546. 3.0.x. The Right-To-* licenses just "authorize" you to then copy that over
  1547. to other Macs.
  1548.  
  1549. The A/UX Essential Manual Set (that comes with A/UX 3.0.x) is not provided
  1550. with either license. If you need more, you'll need to order them
  1551.  
  1552. =========================================
  1553. G.08)  How can I report bugs that I find?
  1554. -----------------------------------------
  1555.  
  1556. The official E-mail address is reports@aux.support.apple.com. If you subscribe
  1557. to the A/UX Technical AnswerLine, you can also use that method. The former
  1558. isn't acknowledged although the latter is.
  1559.  
  1560. For completeness, also post the report to comp.unix.aux.
  1561.  
  1562. There is also a HyperCard stack called "Apple Bug Reporter" that Apple
  1563. recommends using. I have a copy and can make it available via anon-ftp if
  1564. there is a demand.
  1565.  
  1566. ===================================
  1567. G.09)  What's the word on A/UX 3.1?
  1568. -----------------------------------
  1569.  
  1570. The latest version of A/UX, 3.1, has signed been signed off on and is now
  1571. shipping.  3.1 offers better performance than 3.0.2, fixes for various bugs,
  1572. better MacOS emulation and some updated programs and applications.  3.1
  1573. requires 3.0.1|3.0.2 and costs $199 (+ $5 for shipping, $10 for FedEx). You
  1574. can order it directly by calling 1-800-769-2775, x7822. Ask for the A/UX 3.1
  1575. WGS Upgrade Kit. If that doesn't work, try asking for part # M2885Z/A.
  1576.  
  1577. 3.1 has only been _fully_ tested on the AWS95 platform and not on all the
  1578. other platforms that A/UX runs on; however, nothing was done to it to prevent
  1579. it from working on other machines. 3.1 is "only" for the AWS95s in the same
  1580. way that 3.0.2 was "only" for them ;)
  1581.  
  1582. Anyway, here is a short and non-official list of some 3.1 features:
  1583.  
  1584.    o sendmail 8.6.4 now included
  1585.    o support for new Berkeley NEWDB-NDBM package
  1586.    o Added support for "dynamic" use of removables, such as SyQuests
  1587.    o NEC CD-ROMs now supported !!
  1588.    o StyleWriter II supported
  1589.    o Support for UNIX file systems up to 4GB
  1590.    o Enhanced I/O performance (big improvement for fast machines and/or
  1591.      disks!)
  1592.    o Interupting a NFS server now works
  1593.    o Solaris clients no longer crash A/UX
  1594.    o Heavy UFS and NFS I/O no longer causes 'panic: freeing free inode'
  1595.      errors and deadlocks
  1596.    o I/O no longer causes excessive dropped kernel clock interupts
  1597.    o The size of .fs_cache no longer limited to 32MB
  1598.    o Death of 'catsearchd' now detected and responded to (used to crash
  1599.      the MacOS)
  1600.    o Desktop rebuilds no longer cause the Finder to terminate when the
  1601.      rebuild is done.
  1602.    o ThinkC runs under A/UX
  1603.    o Much better MacOS compatibility
  1604.    o 'Temporary Items' correctly handled
  1605.    o Various "needed" programs (like /bin/sh) recompiled w/o shared
  1606.      libs so that the system is still restorable after /shlib is munged
  1607.    o Various bug fixes and improvements, including:
  1608.       cpio (new option -L to follow sym-links)
  1609.       df (handles longer bus names)
  1610.       fsck (ignores 'noauto' and '-p'&'-y' now work correctly)
  1611.       make (uses SHELL in makefile)
  1612.       passwd (MAXUID now 65534)
  1613.       restore (can now restore named pipes)
  1614.  
  1615. ====================================================
  1616. G.10)  What's the future of A/UX with the PowerMacs?
  1617. ----------------------------------------------------
  1618.  
  1619. Apple has recently (August 5th, 1994) officially committed itself to UNIX
  1620. on the desktop for PowerPC-based Macs (it had always been know that Apple
  1621. would have UNIX available for it's PowerPC-based servers). Of course, this
  1622. will _not_ be a port of A/UX, as it now exists, over to the PowerMac. Instead,
  1623. it will be based on AIX, provided by IBM; Apple will further refine AIX (as
  1624. Apple did with it's base of SVR2.2 for A/UX) and add the MacOS environment
  1625. on top of it in the form of MAS (Macintosh Application Services). As such,
  1626. it looks like PowerOpen-A/UX (for lack of a better term) will be extremely
  1627. A/UX-like (it's hoped that Apple's improvements on AIX will be at least as
  1628. good as it's improvements on SVR2.2).
  1629.  
  1630. There _is_ a catch though... PowerOpen-A/UX will _not_ run on todays
  1631. PowerMacs but will instead run only on the PCI-based PowerMacs ("Enterprise
  1632. Client"), such as "TNT" or "Tsunami". Performance promises to be a _real_
  1633. kicker and should blow your socks off. Apple has said that PowerOpen-A/UX
  1634. will be available "the first half of 1995" but expect it a bit later than
  1635. that, if past history has any validity at all :)
  1636.  
  1637. Another nice thing about PowerOpen-A/UX is that it will run the Taligent
  1638. Application environment... Cool!
  1639.  
  1640. ==========================================================
  1641. G.11)  I can't use A/UX. What UNIX alternatives are there?
  1642. ----------------------------------------------------------
  1643.  
  1644. If you can't or *gasp* won't run A/UX on your Mac, then you should consider
  1645. A/UX's only real contender: MachTen by Tenon.
  1646.  
  1647. MachTen approaches UNIX on a Mac from a different viewpoint. Whereas A/UX
  1648. is the MacOS running on-top of UNIX, MachTen is UNIX running on top of the
  1649. MacOS. This means that compatibilty problems aren't an issue, since the
  1650. MacOS isn't being "emulated" ala A/UX. You also avoid needing to create
  1651. separate UNIX file systems since MachTen uses the MacHFS file system.  Also,
  1652. MacOS programs run at "top speed" although UNIX processes are slower than on
  1653. A/UX.  However, since it runs on-top of the MacOS, MachTen is limited to the
  1654. inherent limitations and constraints of the MacOS. For example, MachTen's
  1655. "kernel" isn't truly preemptive multitasking, although the UNIX processes
  1656. are multitasked via MachTen. Also, local users can easily bypass MachTen's
  1657. file-level security. As the MacOS evolves, these "short-comings" will no
  1658. doubt be removed from the lower layer of the OS. Finally, MachTen runs on
  1659. the PowerMacs under emulation, with a native version promised later this
  1660. year.
  1661.  
  1662. MachTen is based on the Mach kernel and the BSD-Reno/Net2 version of BSD.
  1663. It's a very good alternative to A/UX for those machines that can't run A/UX
  1664. or for those interested in having UNIX run on their Macs (say for learning
  1665. UNIX or doing some UNIX development) but don't want their Macs to run UNIX :)
  1666.  
  1667. There are also some ports "in the works" for MacBSD and Linux for Macs,
  1668. but they still have _quite_ a ways to go...
  1669.  
  1670. %%% For more info, contact info@tenon.com %%%
  1671.  
  1672.  
  1673.  
  1674. :::::::::::::::::::::::::::::::::
  1675. ::::: ADMINISTRATION ISSUES :::::
  1676. :::::::::::::::::::::::::::::::::
  1677.  
  1678. ==================================================
  1679. A.01) How come my Login screen is gray, not color?
  1680. --------------------------------------------------
  1681.  
  1682. Because that's the way Apple wanted it :) Actually, the reason why is because
  1683. the 'scrn' resource is missing from 'System' in /mac/sys/Login System Folder.
  1684. If you're handy, you can copy 'scrn' from some other System and paste it in
  1685. Login's using ResEdit. Make sure the "Is Color" field in 'scrn' is "1".
  1686.  
  1687. =================================================================
  1688. A.02) How come my Login ScreenSaver doesn't see both my monitors?
  1689. -----------------------------------------------------------------
  1690.  
  1691. This is also due to the fact (see Q&A #A.01) that the System file in
  1692. /mac/sys/Login System Folder lacks a 'scrn' resource. If you copy this
  1693. resource from a System to knows about your monitor setup into Login's System,
  1694. then the screensaver will knows about all your monitors.
  1695.  
  1696. ================================
  1697. A.03)  Swap space error messages
  1698. --------------------------------
  1699.  
  1700. A.03)  Even though I have lot's of swap space and only a little bit is
  1701.        being used, I STILL get a lot of messages saying that my swap
  1702.        space is running low. What's the buzz?
  1703.  
  1704. Unix is justifyably concerned about having adequate swap space. A system
  1705. crash caused by this beast is a sight to behold. However, A/UX seems EXTREMELY
  1706. nervous about the amount needed before it starts getting fidgety.  If you do
  1707. a "/etc/swap -l" and see that you're only using a small portion of your swap
  1708. space and have a "lot" left, then you can safely ignore the messages (just
  1709. how much is a "lot" is hard to say, but if you have 25000 blocks and are only
  1710. using 1000 or 2000, then I'd say you were fine). If you DO need more swap
  1711. space, then you have a few options:
  1712.  
  1713.     a. Using 'kconfig', reduce the number and size of buffers.
  1714.        This isn't really a good idea since it could really degrade
  1715.        performance as well as possibly causing more panics.
  1716.  
  1717.     b. Add more swap space.
  1718.        Fine, if you have it. You could either add another disk
  1719.        as swap (nice) or repartition your present disk to create
  1720.        a larger Swap partition (Ack!).
  1721.  
  1722.     c. Add more memory.
  1723.        If you have more memory, then this will reduce the need to
  1724.        augment it with swap space... RAM's cheap too! There is an
  1725.        old rule of thumb that the size of Swap should be about
  1726.        2 to 3 times the amount of RAM, which would seem to contradict
  1727.        the above. The thing is that if with the _present_ workload
  1728.        you are swapping like crazy, then adding RAM will reduce
  1729.        tha swapping. If, however, you start increasing the work-
  1730.        load, then swapping will start again, and you better have
  1731.        enough of it! This was the original intent of the Rule-Of-
  1732.        Thumb. At the very least, Swap should always be at least
  1733.        as big as the amount of RAM you have.
  1734.  
  1735. ================================================
  1736. A.04)  How can I copy a complete file system...
  1737. ------------------------------------------------
  1738.  
  1739.   ...from one disk|partition to another?
  1740.  
  1741. You have three options: dd, dump.bsd and cpio (pax MAY work but tar won't
  1742. since it won't handle special-type files). If the two partitions are the same
  1743. size, you can use 'dd' (to copy c0d0s0 to c5d0s3, e.g.):
  1744.  
  1745.     $ dd < /dev/rdsk/c0d0s0 > /dev/rdsk/c5d0s3
  1746.  
  1747. To use dump.bsd, you can use the following command (this assumes that the
  1748. destination disk in mounted on /mnt and you want to copy the root file system
  1749. which is on SCSI 0... of course, you must be root and it would be MUCH better
  1750. to do this in single-user mode):
  1751.  
  1752.     $ dump.bsd 0f - /dev/rdsk/c0d0s0 | (cd /mnt; restore xf -)
  1753.  
  1754. To use cpio, you must use it in a pipe with find. For example, to copy /usr
  1755. (let's assume it's on it's own file system) to another disk|partition (assume
  1756. it's mounted on /mnt) then you can use (you can add the "-depth" flag to
  1757. 'find' if you want):
  1758.  
  1759.     $ cd /usr
  1760.     $ find . -print | cpio -pdmuva /mnt
  1761.  
  1762. The problem with this is that if the mount point of the destination disk
  1763. falls under the file system's directory you're trying to copy, you'll load
  1764. up your destination disk. For example, the following would NOT work:
  1765.  
  1766.     $ cd /
  1767.     $ find . -print | cpio -pdmuva /mnt
  1768.  
  1769. because 'find' would see the stuff in /mnt (which you just put in there) and
  1770. try to copy in back to /mnt! To way to avoid this is by adding a little
  1771. filter:
  1772.  
  1773.     $ cd /
  1774.     $ find . -print | grep -v '^./mnt*' | cpio -pdmuva /mnt
  1775.  
  1776. If you have GNU find, then you can use it with it's '-xdev' option, which
  1777. prevents find from walking through other file systems:
  1778.  
  1779.     $ cd /
  1780.     $ find . -xdev -print | cpio -pdmuva /mnt
  1781.  
  1782. dump.bsd creates a "truer" copy of your file system (the access and
  1783. modification dates aren't mucked with... with the find/cpio pipe, at the
  1784. least the directory dates are touched) but pre-3.1 versions of restore
  1785. couldn't restore named pipes. These are easy to creat though using
  1786. 'mknod'. The only named pipes included in the default A/UX distribution are:
  1787.  
  1788.     /usr/lib/cron/FIFO
  1789.         prw-------   1 root     sys            0 Oct 18 16:08
  1790.  
  1791.     /usr/spool/lpd/AppleTalk/pipe
  1792.         prw-rw----   1 daemon   daemon         0 Oct 19 06:11
  1793.  
  1794. ========================
  1795. A.05)  What's with UUCP?
  1796. ------------------------
  1797.  
  1798. UUCP under 3.x.x is very improved over it's previous "incarnation" under 2.0.1.
  1799. 3.x.x uses HDB (for HoneyDanBer) UUCP instead of standard UUCP. Some nice
  1800. things are bidirectional getty (also known as uugetty in other Unixs) which
  1801. allows both incoming and outgoing communication over serial lines as well as
  1802. better performance and reliability. I hear that setting it up is _much_ easier
  1803. as well.
  1804.  
  1805. You may seriously consider getting Alexis Rosen's "sendmail.cf" file for use
  1806. under UUCP sendmail. This config file has been modified to allow UUCP and
  1807. sendmail to work beautifully together. You may also want to consider simply
  1808. installing smail to replace sendmail.
  1809.  
  1810. Under 3.0., be sure that you are running the latest version: 1.16. It can be
  1811. found on aux.support.apple.com in aux.patches/supported/3.0. Be sure that you
  1812. get the new dial.o on ftp.apple.com (pub/earlw/dial) to avoid breaking syslog.
  1813. Under 3.0.1 (and later) all is OK.
  1814.  
  1815. ==============================================
  1816. A.06)  How can I log anonymous ftp entries?...
  1817. ----------------------------------------------
  1818.  
  1819.   ...in.ftpd has a -l option, but it doesn't work.
  1820.  
  1821. Jim Jagielski (jim@jagubox.gsfc.nasa.gov) has hacked in.ftpd to enable logging
  1822. via the syslogd daemon. It also pays extra close attention to anonymous ftp
  1823. logins. It's available (as well as other ports|hacks) on jagubox. Also
  1824. available on jagubox is a port of the latest version of wuarchive's ftpd
  1825. server for A/UX. wu-ftpd is a super-nice ftp server with lots of extras
  1826. and neat features!
  1827.  
  1828. The real reason why '-l' doesn't work with in.ftpd is that there's no real
  1829. way to send this option to the daemon. A/UX 'inetd' doesn't allow you to add
  1830. options to '/etc/servers'. John Coolidge (coolidge@apple.com) has ported the
  1831. BSD-reno version of 'inetd' to overcome this limitation. Jim Jagielski has
  1832. since been updating and maintaining 'inetd'. This version of 'inetd' also has
  1833. some nice features, such as rereading /etc/servers when sent SIGHUP. It's
  1834. available on jagubox. This version of 'inetd' has also been modified to log
  1835. whenever it spawns a background daemon as well as logging which host requested
  1836. the daemon.
  1837.  
  1838. %%% For more info, contact Jim %%%
  1839.  
  1840. ============================================
  1841. A.07)  'df' shows different results for root
  1842. --------------------------------------------
  1843.  
  1844. A.07)  How come when I do a 'df' as a regular user, it shows me a different
  1845.        number of free blocks compared to when I run it as 'root'?
  1846.  
  1847. One of the details about the BSD Fast File System is that it sets aside
  1848. some amount of the available disk space (if the file system was created by
  1849. HD SC Setup, then %5 is set aside; if created by 'newfs' then 10% is set
  1850. aside... this value can be changed by using the 'tunefs' command) and makes
  1851. it unavailable to regular users. This prevents 2 things: filling up a file
  1852. system and destroying performance by having a "too full" file system. 'root',
  1853. however, does have access to this "extra" disk space, hence the difference in
  1854. the numbers reported by df between 'root' and "regular joe".
  1855.  
  1856. As mentioned above, if you used HD Setup to create the partitions (or your
  1857. A/UX came preinstalled), then the "set aside" value for these file systems
  1858. is 5%, not the "default" of 10%... This was simply to give users more space.
  1859. Reducing this value beyond 5% is Not A Good Idea.
  1860.  
  1861. ======================================
  1862. A.08)  Does A/UX LocalTalk support IP?
  1863. --------------------------------------
  1864.  
  1865. Nope... not at all.
  1866.  
  1867. ==========================================================
  1868. A.09)  How do I get MPW 3.1 to work? It hangs my system...
  1869. ----------------------------------------------------------
  1870.  
  1871. MPW 3.1 doesn't work under A/UX although 3.2 does. In the meantime, you
  1872. can make 3.1 work by breaking into MacsBug when it's hung and entering:
  1873.  
  1874.     pc=pc+2;g
  1875.  
  1876. See Q&A #M.04 for info about entering MacsBug...
  1877.  
  1878. ===============================================================
  1879. A.10)  Can I refer to a file on my Mac system from within A/UX?
  1880. ---------------------------------------------------------------
  1881.  
  1882. A/UX's 'Finder' mode is the only way (currently) to access both file systems.
  1883. You could write a hybrid application that could attach to the Finder world
  1884. (a la, CommandShell and cmdo which can "see" both file systems), but you
  1885. can't access HFS volumes from the A/UX kernel directly.  In a similar vein,
  1886. you can't 'mount' an HFS volume on an A/UX inode.
  1887.  
  1888. =================================================================
  1889. A.11)  How can I adjust the amount of virtual memory Finder uses?
  1890. -----------------------------------------------------------------
  1891.  
  1892. There are three ways to do this. The first is very easy: you simply use the
  1893. Memory cdev to adjust the "memory" size, logout and then log back in. You
  1894. must be 'root' to do it this way.
  1895.  
  1896. The 2nd way is to use the 'TBMEMORY' environment variable. You can set it's
  1897. "value" equal to the amount of memory you wish to use. For example:
  1898.  
  1899.     set TBMEMORY=10m         (in .profile for ksh or sh or /etc/profile)
  1900.        -or-
  1901.     setenv TBMEMORY 10m      (in .login for csh)
  1902.  
  1903. configures Finder for 10M.
  1904.  
  1905. You can also edit /mac/bin/mac32|mac24 (or .mac32|.mac24 if you are using
  1906. this method) to call 'startmac' with the memory size you want using the
  1907. "-m" option. For example:
  1908.  
  1909.     /mac/bin/startmac -m 8m > $SMLOGFILE 2>&1 &
  1910.                      -------
  1911.  
  1912. in (.)mac32|(.)mac24 will configure an 8M environment.
  1913.  
  1914. Please note that under the 24-bit mode (mac24), you can only access a maximum
  1915. of 8MB of RAM. It won't complain if you try to setup more, it just won't do
  1916. it. Furthermore, if you actually have more than 8MB (say 12), the "About This
  1917. Macintosh" window will show "Built-in Memory: 12,288 K; Total Memory: 8,192K".
  1918.  
  1919. The default behavior of 3.0 (and earlier) was to allocate all the RAM to the
  1920. MacOS. Thus, if you had 20MB, A/UX would, unless told otherwise, allocate
  1921. 20MB for the MacOS-emulation. Under 3.0.1 (and later), this is slightly
  1922. changed: A/UX will usually not allocate all RAM to the MacOS but will instead
  1923. impose a 16MB maximum (this can be changed via Memory or TBMEMORY). Whatever
  1924. version of A/UX you are running, it's a Good Idea not to allocate _all_ RAM
  1925. for the Finder. This is because A/UX allocates itself a chunk, so if you give
  1926. the Finder "all" of it, you can cause swapping and paging which can seriously
  1927. degrade performance at times.
  1928.  
  1929. If the value set in 'Memory' and TBMEMORY disagree, the value determined by
  1930. TBMEMORY is used.
  1931.  
  1932. ================================================================
  1933. A.12)  Is there an archive of comp.unix.aux out there somewhere?
  1934. ----------------------------------------------------------------
  1935.  
  1936. Yes, it's located on aux.support.apple.com under archives/comp.unix.aux.
  1937.  
  1938. ==========================================
  1939. A.13)  How come I can't use color under X?
  1940. ------------------------------------------
  1941.  
  1942. Apple's X (R4), and Thomas Eberhardt's X11R5 all support color. However, you
  1943. must start the server with the "-screen 0 -depth 8" option (similar command
  1944. with other screens if you have them). You can add these options to the command
  1945. line or to your server's defaults file. You can also create a ".X11" file in
  1946. your home directory which includes the line:
  1947.  
  1948.     X -screen 0 -depth 8
  1949.  
  1950. to get the same effect. Make sure that ".X11" is executable for this to work
  1951. ("chmod 755 .X11").
  1952.  
  1953. ===========================================
  1954. A.14)  Accessing MacOS filenames under A/UX
  1955. -------------------------------------------
  1956.  
  1957. A.14)  Using the command shell interface, I'm trying to access some Mac files
  1958.        (that have strange names) but I can't; the program returns an error and
  1959.        I can't access the file. What's going on?
  1960.  
  1961. The problem is that sh and csh don't understand the Mac "special" characters
  1962. that are in the filenames. They don't expect filenames with characters that
  1963. are represented by 8-bits. ksh is "8-bit clean" and thus would be able to
  1964. access the file. For example, to remove Moire, just type:
  1965.  
  1966.     $ ksh           #this creates a Korn shell child
  1967.     % rm M?ire      #match the weird 'o'
  1968.     % exit          #get back in your old shell
  1969.  
  1970. You could also use emacs' DIRED or the Gnu File utilities to do this, but
  1971. ksh is right here on the system so it's a bit easier. Of course, another very
  1972. easy way is to use the MacOS interface and do the deletion|rename|whatever
  1973. the "Mac" way. Please note that if what you are MacOS deleting is a symbolic
  1974. link to a directory, what gets Trashed is actually the contents of the
  1975. directory as well as the link! This is due to the fact that to the Finder,
  1976. the link looks like a folder, and the entire thing gets deleted.
  1977.  
  1978. ============================================
  1979. A.15)  Installer problems on 3rd party disks
  1980. --------------------------------------------
  1981.  
  1982. A.15)  I heard the the Installer for 3.x.x works on "any" 3rd party
  1983.        hard disk. Well, it doesn't on mine!
  1984.  
  1985. Well, the Installer will work with any 3rd party disk but there are a few
  1986. wrinkles... The HD Setup application in the 3.x.x Installer is unique in that
  1987. not only does it create A/UX partitions but it also creates the actual file
  1988. systems in those partitions (basically it runs 'newfs'). Now if you have used
  1989. some other HD utility program (such as SilverLining or FWB HDT) to create
  1990. the partitions and then attempt to install A/UX on that disk, the Installer
  1991. sees that the partitions are there and then _assumes_ that they were created
  1992. by HD Setup and therefore have the file systems already created.  Of course,
  1993. the file systems don't exist yet, just the partitions, so the installation
  1994. fails.
  1995.  
  1996. You have a few options:
  1997.  
  1998.  a. Run the Installer on a newly formatted disk. This means that HD Setup
  1999.     will do all the partitioning (etc...) and the installation will proceed.
  2000.     Note that this means you will be "stuck" with the Apple drivers whenever
  2001.     you are in the _real_ MacOS Finder.
  2002.  
  2003.  b. If you want to use the drivers on your HD utility (for stuff like,
  2004.     maybe, password protection of partitions) then you have two (maybe three)
  2005.     additional options:
  2006.  
  2007.    i. Use 'a' above to install A/UX. Then use your HD utility program to
  2008.       "take over" the disk, disabling (or even removing) the Apple drivers
  2009.       and installing it's own. Note that if there isn't enough space to
  2010.       install it's drivers, most will attempt to "shrink" the MacOS partition
  2011.       to make room. Most can do this with no problem, but why take the risk...
  2012.       when you partition the disk, leave about 64K available as free space.
  2013.  
  2014.   ii. Use your HD utility to create the partitions. Then, before you
  2015.       run the Installer, run 'newfs' "by hand" to create the file systems so
  2016.       that the installation can proceed.
  2017.  
  2018.  iii. Use your HD utility to format (etc...) your disk and create
  2019.       _only_ the MacOS partition. Now run the Installer. In most cases HD
  2020.       Setup will work fine with the driver installed on the disk.  You can
  2021.       now use it to create the A/UX partitions.
  2022.  
  2023.       <<ED: I _know_ this (iii) works with FWB HDT>>
  2024.  
  2025. Please note that HD SC Setup will only create the file systems if run under
  2026. A/UX. If you run it under the MacOS, it can only partition...
  2027.  
  2028. ==========================
  2029. A.16)  RetroSpect for A/UX
  2030. --------------------------
  2031.  
  2032. A.16)  Since RetroSpect will no longer be bundled with A/UX 3.0.2,
  2033.        how can I get it?
  2034.  
  2035. Very early reports indicated that RetroSpect for A/UX might be bundled with
  2036. A/UX 3.0.2 as it is with the AWS95 version of 3.0.2. This is no longer the
  2037. case (if it ever _was_ ). However, if you are a registered owner of RetroSpect
  2038. 2.0, you can order an upgrade to RetroSpect A/UX. The cost is around $200
  2039. and to order (or more info) you can call 1-800-225-4880 (have your
  2040. registration number handy). International customers should call 510-849-0293.
  2041.  
  2042. Please note that if you have the Pisces card installed (with the WGS95), then
  2043. _only_ RetroSpect A/UX will work and _only_ under the A/UX environment.  You
  2044. will not be able to access your DAT under the real MacOS!
  2045.  
  2046. ==========================================
  2047. A.17)  How can I configure CAP under A/UX?
  2048. ------------------------------------------
  2049.  
  2050. For the answer, snag a copy of CAP.txt which is available on jagubox (in
  2051. /pub/aux/Info for anon-ftp).
  2052.  
  2053. ===========================================
  2054. A.18)  What are some good books about A/UX?
  2055. -------------------------------------------
  2056.  
  2057. Except for Apple's complete manual set, there are no books specifically about
  2058. A/UX. (Well, there's one but it's most probably out of print.  It is most
  2059. definately out of date. It's called "The A/UX Handbook" by Jan Harrington
  2060. and it's written for A/UX 2.0).
  2061.  
  2062. There are some _very_ good books about UNIX in general however. The best of
  2063. the pack (IHMO) is "UNIX Administration Guide for System V" by Thomas and
  2064. Farrow. Another good book is the "UNIX System Administration Handbook" by
  2065. Nemeth, Snyder and Seebass. Since A/UX is a mix of SystemV and BSD both books
  2066. are worthwhile ("UNIX Sys. Ad. Handbook" deals "mostly" with BSD systems).
  2067. Another must-have is "UNIX Power Tools" from O'Reilly and Associates.
  2068.  
  2069. For general information about shells and programming there's no better book
  2070. than "The UNIX Programming Environment" by Kernighan and Pike. For the 'ksh'
  2071. shell, the best book I've encountered is "Learning the Korn Shell" by Bill
  2072. Rosenblatt.
  2073.  
  2074. O'Reilly and Associates has a wide selection of UNIX-based books. You're
  2075. bound to find what you're looking for from them. You can contact them either
  2076. via Email (nuts@ora.com) or Phone (1-800-998-9938).
  2077.  
  2078. There is also a list (with over 160 entries) of UNIX books (and mini-reviews)
  2079. located on ftp.rahul.net in 'pub/mitch/YABL/yabl'.
  2080.  
  2081. ========================================
  2082. A.19)  'panic ialloc' error when booting
  2083. ----------------------------------------
  2084.  
  2085. A.19)  When booting up, I get a "panic ialloc, dup alloc" (or other)
  2086.        error message and A/UX won't boot. What can I do?
  2087.  
  2088. This is due to the fact that some file system damage exists on the Root file
  2089. system. By default, A/UX Startup will only run 'fsck' on the root file system
  2090. if the system is marked as "dirty." So even if damage exists, as long as the
  2091. disk was cleanly 'umount'ed, 'fsck' won't check it out and fix it.
  2092.  
  2093. I recommend always having A/UX Startup fully check out the disk before booting
  2094. A/UX. It takes a while, but it's worth it. To do this, choose Booting from
  2095. the Preferences menu. Now change the command under "AutoRecovery" to "fsck
  2096. /dev/default" (it was "fsck -y -p /dev/default").  When you do this, you'll
  2097. notice that the radio button changes from "Check root file system" to "Custom
  2098. command"... that's OK. After that, A/UX will always run 'fsck' on Root. If
  2099. you are doing this, you might as well have A/UX run a full 'fsck' on all
  2100. file-systems too. Check out fsck(1m) and fstab(4) for how to do this... one
  2101. way is to just edit /etc/bcheckrc and remove the options to the "/etc/fsck"
  2102. command.
  2103.  
  2104. If you don't want to do this but you do have some damage that prevents A/UX
  2105. from booting, then you can cancel the boot-up process (either select "Exit"
  2106. or hit "Command-."). Then type "fsck /dev/default" and then, when 'fsck' is
  2107. done, type "boot" (or "launch"). Sometimes you must run 'fsck' a coupla times
  2108. to fully fix the file system if there was extensive damage.
  2109.  
  2110. ========================================
  2111. A.20)  Is traceroute available for A/UX?
  2112. ========================================
  2113.  
  2114. This is kinda a trick question. The actual source for traceroute is readily
  2115. available and compilable for A/UX. However, traceroute makes use of raw
  2116. sockets. The original implementation of sockets by Berkeley contained a bug
  2117. in raw sockets that prevented traceroute from working correctly. This bug was
  2118. subsequently fixed in later versions of most UNIXes out there, but not in
  2119. A/UX. However, Apple _does_ know about the fix, since they included a fixed
  2120. 'bnet' driver with their distribution of traceroute for 2.0.1/3.0.  Even so,
  2121. for some strange reason, they never incorporated this fix in later versions
  2122. of the 'bnet' driver. Thus, the short answer is, except for 3.0, traceroute
  2123. will not work under A/UX, due to the fact that Apple has neglected to fix
  2124. a "buggy" 'bnet' driver, even though the know about the problem and the fix.
  2125.  
  2126. ==============================================
  2127. A.21)  What is KEEPALIVE and how can I use it?
  2128. ==============================================
  2129.  
  2130. KEEPALIVE is a method implemented in Berkeley sockets and TCP/IP (and in
  2131. A/UX) that periodically polls a connected socket to determine if it's
  2132. still "alive" or whether the client on the other end has dropped off.
  2133. If the connected client doesn't respond, A/UX will consider the connection
  2134. broken and send SIGPIPE to all connected processes. For this feature to
  2135. be actually used, programs must set the SO_KEEPALIVE option on the
  2136. socket.
  2137.  
  2138. One particular of A/UX is that although it supports KEEPALIVE, it doesn't
  2139. send the first probe for _2 hours_! It's been suggested that it would be
  2140. much better to shorten this value to something more realistic to take
  2141. better advantage of this capability. However, to do this, you'll need to
  2142. use 'adb' and adjust the kernel.
  2143.  
  2144. You can either patch the kernel itself (which requires that the patch be
  2145. reapplied everytime the kernel is rebuilt) or patch /etc/install.d/boot.d/bnet
  2146. to keep the patches. To patch the kernel, do:
  2147.  
  2148.     adb -w -k /unix  << Foo
  2149.     tcp_keepidle?D
  2150.     tcp_keepidle?W 258
  2151.     tcp_keepidle?D
  2152.     $q
  2153.     Foo
  2154.  
  2155. To patch the 'bnet' driver instead, do:
  2156.  
  2157.     adb -w /etc/boot.d/bnet << Foo
  2158.     tcp_keepidle?D
  2159.     tcp_keepidle?W 258
  2160.     tcp_keepidle?D
  2161.     $q
  2162.     Foo
  2163.  
  2164. Now run 'newconfig -v' and reboot.
  2165.  
  2166.  
  2167.  
  2168. :::::::::::::::::::::::::::::::::::
  2169. ::::: MAC-EMULATION QUESTIONS :::::
  2170. :::::::::::::::::::::::::::::::::::
  2171.  
  2172. ======================================================
  2173. M.01)  What Mac applications are compatible with A/UX?
  2174. ------------------------------------------------------
  2175.  
  2176. It would be much easier to list the applications that aren't compatible.
  2177. The list is much, much shorter...
  2178.  
  2179. The _vast_ majority of applications that run under System 7 will run under
  2180. A/UX 3.x.x. In fact, before System 7 was released, A/UX 2.0.x was actually
  2181. a good litmus test whether the application was 32-bit clean and would run
  2182. under System 7. The only applications that are _sure_ to fail are those that
  2183. try to access hardware _directly_, such as HD utilities or backup
  2184. applications. A/UX 3.x.x provides both 24 and 32-bit modes, so if the
  2185. application doesn't run under 32-bit mode, try it under 24-bit.
  2186.  
  2187. One key note: if the program uses a "complex" installation procedure (like
  2188. for Canvas, Word, Stuffit, etc...) then you should not try to do a fresh
  2189. install under A/UX. See the above Hints and Words Of Wisdom.
  2190.  
  2191. ===================================================
  2192. M.02)  What screen-savers are compatible with A/UX?
  2193. ---------------------------------------------------
  2194.  
  2195. AfterDark (2.0u and later) works well under A/UX but some displays may not
  2196. have enough memory under Login so the "low-memory" display will be used.
  2197.  
  2198. Moire and FMbackup seem a bit incompatible. They both function fine together
  2199. but the combination prevents FMbackup's "Finishing up..." window from
  2200. displaying, although FMbackup does, in fact, finish up. Furthermore, Moire
  2201. seems to screw-up Commando (both version 3.22 and 4.01 exhibit this problem)
  2202. so all in all, Moire can't be recommended if you desire using Commando (the
  2203. problem seems to be with all MacOS applications 'launch'ed from the
  2204. CommandShell window). Using Moire for the Login screen works well however,
  2205. since you can't access Commando or 'launch' applications from there.
  2206.  
  2207. Darkside is also available. Unlike other screen savers, Darkside is an
  2208. application, not an INIT. This means it won't work under the Login screen.
  2209. The latest version of Darkside is 4.0 and will _not_ work on Pre-System7
  2210. systems, so don't attempt to use this under A/UX 2.0.1 or later.
  2211.  
  2212. Moire is available on jagubox.
  2213.  
  2214. ==========================================
  2215. M.03)  Mounting MacOS partition under A/UX
  2216. ------------------------------------------
  2217.  
  2218. M.03)  My MacOS partition mounts fine under MacOS but it doesn't show up
  2219.        under A/UX... Why?
  2220.  
  2221. Whether or not a Mac partition mounts under A/UX depends on a number of
  2222. factors...  Necessary conditions for a partition to mount are:
  2223.  
  2224.     1. The disk MUST be partitioned using the "new" partitioning scheme
  2225.        detailed in Inside Macintosh V. There is still plenty of disk software
  2226.        out there that uses the "old" scheme and this drives will not mount
  2227.        under A/UX. Generic disk formatters that use the "new" scheme include
  2228.        SilverLining and FWB Hard Disk Toolkit. Most major disk vendors supply
  2229.        A/UX compatible formatting s/w.
  2230.  
  2231.     2. The partition must mount under MacOS BEFORE A/UX is booted. A/UX
  2232.        only tries to mount partitions that were already when it was booted.
  2233.        So, if you use an application to boot A/UX and this application runs
  2234.        before a partition is mounted, A/UX won't mount it for you. If you
  2235.        have a removable drive (such as SyQuest), you must insert the disk
  2236.        before you boot A/UX... this means you can't swap cartridges under
  2237.        A/UX.
  2238.  
  2239. Sometimes, the partition map isn't correct for the MacOS partition; In
  2240. particular, the Logical size may be 0! You can use 'dp' to look at the
  2241. partition map to see if this is the case. Assuming that the disk us SCSI #2,
  2242. then:
  2243.  
  2244.     $ dp /dev/dsk/c2d0s31
  2245.     P
  2246.  
  2247. Will print out the partition map entries. You can then see if the "Apple_HFS"
  2248. partition type has the correct logical size.
  2249.  
  2250. =================================================
  2251. M.04|M.05)  MacsBug, Interrupts and MacOS Freezes
  2252. -------------------------------------------------
  2253.  
  2254. M.04)  I have MacsBug installed. How can I trigger it?
  2255.                 -- or --
  2256. M.05)  Sometimes my MultiFinder environment (and/or CommandShell) freezes
  2257.        up; how can I unfreeze it? Should I hit the Interrupt switch?
  2258.  
  2259. The "Command-Control-e" keypress will kill the current MultiFinder environment
  2260. and "unfreeze" (and kill) your MultiFinder|CommandShell.  Depending on whether
  2261. your session-type is Console Mode or 32|24-Bit, you will either get returned
  2262. to the console or get returned to the Login screen. You should _NOT_ press
  2263. the Interrupt switch since this puts you into A/UX's kernel debugger. If you
  2264. have MacsBug installed (which is recommended) then you can press
  2265. "Command-Control-i" to enter it. This may enable you to clean some things up
  2266. before the MultiFinder environment is blasted (even just using 'rs' under
  2267. MacsBug helps...). If MacsBug is _not_ installed, the "C-C-i" behaves almost
  2268. like a "C-C-e" except that it appears that A/UX doesn't need to "rebuild"
  2269. your icon/Desktop "environment" the next time Mac-mode is entered.
  2270.  
  2271. To make sure that MacsBug installs correctly, it's name must be 'MacsBug'.
  2272. A munged Debugger Prefs file can also prevent MacsBug from installing. This
  2273. happened to me when upgrading to 3.0.1... To be safe, make a solid safe
  2274. copy before upgrading.
  2275.  
  2276. ==================================
  2277. M.06)  Phase 1 EtherTalk and A/UX?
  2278. ----------------------------------
  2279.  
  2280. M.06)  My site is not upgraded to EtherTalk Phase 2 yet... can I use Phase 1
  2281.        under A/UX?
  2282.  
  2283. A/UX only supports EtherTalk Phase 2. Upgrading to Phase 2 is recommended
  2284. for a variety of reasons, but most importantly to ensure compatibility with
  2285. new products from Apple and developers (of course, the added features over
  2286. Phase 1 are nice too :).
  2287.  
  2288. =========================================
  2289. M.07)  A/UX and MacOS file transfer hints
  2290. -----------------------------------------
  2291.  
  2292. M.07)  I'm having trouble transfering files between A/UX and my MacOS disk.
  2293.        Also, sometimes things get transfered fine, othertimes not. What's
  2294.        going on?
  2295.  
  2296. If a file on the A/UX system has Type "TEXT", then when it is copied over to
  2297. a MacOS disk, all 'newline' characters will be replaced by 'carriage returns'.
  2298. Sometimes this is what you want (that is when the file is, in fact, a TEXT
  2299. file). Othertimes it's not. Say for example you download a GIF file onto your
  2300. A/UX disk. A/UX _might_ think it's a TEXT file. If you then copy it over to
  2301. your MacOS disk and try to use Giffer on it, it won't work.  That's because
  2302. the 'nl's where changed, which is _not_ what you want. The way to stop this
  2303. is to convince A/UX that the file is of non-TEXT type.  There are many
  2304. applications out there (including the A/UX included 'setfile' program) that
  2305. lets you modify this. Do this before you copy the file over to your Mac OS
  2306. disk and all will be Okay. If you aren't sure what the Type and Creator should
  2307. be, you can just specify "BIN " and "A/UX" (note space in BIN) and the file
  2308. won't be massaged during the copy|transfer. You'll still need to eventually
  2309. change them to the correct ones for their particular application, but this
  2310. way they'll be on your MacOS disk "uncorrupted."
  2311.  
  2312. Of course, you could also use 'setfile' to set the Type|Creator fields
  2313. _before_ you copy the file to the MacOS disk and avoid an additional step.
  2314.  
  2315. Please note that if you downloaded a BINHEX file, you _do_ want to keep it
  2316. as a TEXT file if you transfer it over to the MacOS. Once there, you can
  2317. de-BINHEX it and unStuffIt (if it was a binhexed stuffit archive).
  2318.  
  2319. Please note that if you transfer Unix-type files (like tar archives or
  2320. compressed files) between the A/UX file system and a MacOS disk (esp. if
  2321. these files were "created" on a MacOS disk by a MacOS utility), the Unix
  2322. application may no longer work correctly with it. This is because the MacOS
  2323. resource information was attached to the file during the transfer (the file
  2324. is in Apple Single format). To "fix" this, use 'fcnvt' to change the file
  2325. to Apple Double format which will detach the resource fork and place it
  2326. into a "%..." file.
  2327.  
  2328. See "Hints and Words Of Wisdom" (above) for hints in using ftp file transfers
  2329. under A/UX.
  2330.  
  2331. ============================================
  2332. M.08)  Where to install CDEVs and Extensions
  2333. --------------------------------------------
  2334.  
  2335. M.08)  Do I install CDEVs and Extensions in the System Folder on
  2336.        MacPartition or on the "/" A/UX disk.
  2337.  
  2338. To install these additions to A/UX, you will need to drag-copy them over to
  2339. the A/UX System Folder. Usually, this is /mac/sys/System Folder on the "/"
  2340. disk but it will also "appear" in your "home folder" icon. If you have a
  2341. personal System Folder (i.e. $HOME/System Folder) then they should be dragged
  2342. there. To add a screensaver to the Login screen, it must be dragged into the
  2343. correct subfolder in /mac/sys/Login System Folder. That is, if it's an cdev,
  2344. drag it into /mac/sys/Login System Folder/Control Panels.
  2345.  
  2346. ==================================
  2347. M.09)  Booting A/UX under System 7
  2348. ----------------------------------
  2349.  
  2350. M.09)  I heard that A/UX requires a special version of System 7 to boot...
  2351.        Is this true?
  2352.  
  2353. A lot of people believe this but this is not true. There is no difference
  2354. between the s/w on the MacPartition partition and the "real" System 7.  The
  2355. only _real_ need for MacPartition is that the disk where A/UX Startup lives
  2356. is where A/UX Startup looks for the A/UX Root partition. When A/UX Startup
  2357. launches, it looks at "it's" disk and then looks for A/UX partitions on that
  2358. disk. This means that you _don't_ need to boot-up from the MacPartition disk
  2359. to boot A/UX. Start your Mac from your standard Startup disk and just
  2360. double-click on A/UX Startup on the MacPartition icon.
  2361.  
  2362. You can even do without the MacPartition disk but telling A/UX Startup the
  2363. exact SCSI number of the A/UX disk. You can do this a couple of ways:
  2364.  
  2365.     1. create a ROOT variable in A/UX Startup that points to the
  2366.        root partition in this form: (SCSI-ID, 0, 0)
  2367.  
  2368.     2. Under the General Preferences menu, change the Root Directory
  2369.        to (SCSI-ID, 0, 0).
  2370.  
  2371. The "device" file /dev/default points to the SCSI-ID of whatever disk is the
  2372. MacPartition disk, so if you don't have one, you need to tell A/UX Startup
  2373. it's "real" name. This is kinda messy since you'll need to preface a lot of
  2374. stuff with this value: e.g.
  2375.  
  2376.     #startup cat (6,0,0)/etc/inittab
  2377.  
  2378. ==================================================
  2379. M.10)  Screwed up Desktop after crashes or MacsBug
  2380. --------------------------------------------------
  2381.  
  2382. M.10)  After the Mac environment crashes (or when I use MacsBug), the
  2383.        Desktop gets all screwed up... Argg!!
  2384.  
  2385. Ron Flax of Apple (ron@afsg.apple.com) has written a very useful System
  2386. Extension called FMbackup that creates backup copies of "valuable" Desktop
  2387. files. When the MacOS-mode is entered, FMbackup restores these files. Thus,
  2388. when your MacOS "crashes", you no longer need to rebuild the Desktop or reset
  2389. all your Icons, window "types", etc... Please note that there seems to be
  2390. some incompatibilty between FMbackup and Moire and QuickMail 2.5.1.
  2391.  
  2392. FMbackup (1.0.4) is available via anon-ftp on afsg.apple.com as well as
  2393. aux.support.apple.com (in "unsupported").
  2394.  
  2395. %%% For more information about "FMbackup", please contact Ron via E-mail %%%
  2396.  
  2397. ===============================================
  2398. M.11)  MacOS partitions on desktop only as root
  2399. -----------------------------------------------
  2400.  
  2401. M.11)  My MacOS partition(s) only show up on the Desktop when I login
  2402.        as root. Why?
  2403.  
  2404. Under the Preferences/General Menu of A/UX Startup, there is a radio-box
  2405. called "Password checking". This is intended to provide some security for
  2406. the A/UX Startup application. When enabled, two (default) things happen:
  2407.  
  2408.     1. A/UX Startup requires a password to open.
  2409.     2. MacOS partition(s) are only mounted for root login.
  2410.  
  2411. Thus, to enable MacOS partition(s) to be available for all users, you must
  2412. disable "Password checking". See auxstartuprc(4) for more info.
  2413.  
  2414. ==========================================
  2415. M.12)  CommandShell ignoring 1st key press
  2416. ------------------------------------------
  2417.  
  2418. M.12)  For some reason, my CommandShell only responds to a keyboard
  2419.        event after it receives a second event. For example, typing "a"
  2420.        won't show until I type something else or click the mouse.
  2421.        What gives?
  2422.  
  2423. This is caused almost 99% of the time by an Extension|CDEV conflict. The way
  2424. around this is to selectively disable each one at a time and see which one
  2425. causes the problem... then delete it. "Wild Magic" is prone to do this as
  2426. are older versions of CEToolbox.
  2427.  
  2428. =====================================
  2429. M.13)  Can A/UX 3.x.x run System 7.1?
  2430. -------------------------------------
  2431.  
  2432. A/UX 3.x.x's MacOS interface is based on System 7.0.1. You cannot install
  2433. Sys 7.1 on A/UX (meaning you can't make A/UX run Sys 7.1) since there are a
  2434. few system files that are fine-tuned and modified to work under A/UX. These
  2435. would get overwritten if you tried to install 7.1 and you'd be out of luck.
  2436. Please recall that this doesn't mean that you can't have 7.1 installed on
  2437. your MacPartition, to be used when in MacOS-only mode. It just means that
  2438. you can't have A/UX run 7.1.
  2439.  
  2440. Just to let you all know, if you really want to, you _can_ install 7.1 on
  2441. A/UX 3.x.x and the MacOS-stuff will work pretty well. However, all hybrids,
  2442. such as CommandShell or Commando, will die... not too useful...
  2443.  
  2444. ===============================================
  2445. M.14)  What version of AppleTalk does A/UX run?
  2446. -----------------------------------------------
  2447.  
  2448. This one is tricky. First of all, the version of AppleTalk under A/UX was
  2449. designed specifically for A/UX... Don't try installing the Network Software
  2450. Installer (NSI) disk. Bad Things will happen.
  2451.  
  2452. With that out of the way, when polled by InterPol, A/UX will respond that
  2453. AppleTalk v56 is running. However, A/UX's version is really compatible with
  2454. version 58. This will cause trouble with those applications that rely on
  2455. version numbers rather than capability.
  2456.  
  2457. ===================================
  2458. M.15)  Version of MacTCP under A/UX
  2459. -----------------------------------
  2460.  
  2461. M.15)  I've just installed MacTCP 2.0.2|4 on A/UX and nothing works!
  2462.        What's going on?
  2463.  
  2464. The copy of MacTCP that ships with A/UX is specifically written for A/UX.  You
  2465. should _not_ replace it with any MacOS version of MacTCP! Doing so will cause
  2466. mucho problems for A/UX. This is because A/UX's MacTCP simply offloads all
  2467. networking functions down to A/UX itself which handles them.
  2468.  
  2469. Although it's true that some MacOS programs, such as Mosaic, "require" MacTCP
  2470. 2.0.2|2.0.4, the vast majority work just fine with A/UX's version. In extreme
  2471. cases, with programs that actually _check_ the version number, a little
  2472. ResEdit hacking will fix things up. Basically, all you need to do is COPY the
  2473. 'vers' resource of MacTCP 2.0.2|2.0.4 and PASTE it into MacTCP in your active
  2474. A/UX System Folder (you want to 'Replace' the previous 'vers' resource). This
  2475. will cause MacTCP to appear (via 'Get Info' and similar ways) to be version
  2476. 2.0.4.
  2477.  
  2478.  
  2479.  
  2480. :::::::::::::::::::::::::::::::::::
  2481. ::::: DEVICES AND PERIPHERALS :::::
  2482. :::::::::::::::::::::::::::::::::::
  2483.  
  2484. =======================================================
  2485. D.01)  Can I use my Teac|DAT|etc tape drive under A/UX?
  2486. -------------------------------------------------------
  2487.  
  2488. A/UX 3.x.x's 'tc' device driver (version 1.40) officially and "totally"
  2489. supports the following tape drives:
  2490.  
  2491.     Qualstar 9 track
  2492.     Archive 4mm DAT
  2493.     Archive QIC
  2494.     Teac DCAS 600
  2495.     Exabyte 8500        <<ED: no go with the 8200s>>
  2496.     DC2000
  2497.  
  2498. Please note that all the devices except for the Qualstar 9-tracks require
  2499. 8k-blocking when used through 'tc'. This means you will need to use 'tcb' or
  2500. 'tbb' as a filter ('dd' will also work during reading). You should also
  2501. specify 8k blocking (or a multiple thereof) when using dump.bsd.
  2502.  
  2503. Jim Jagielski has created a replacement for 'tc' called 'NEWtc'. It fixes
  2504. a lot of Apple's 1.4 bugs as well as to provide some nice new features. It
  2505. supports all the above drives in addition to:
  2506.  
  2507.     CIPHER drives
  2508.     Exabyte 8200, 8205 and 8505
  2509.     HP DATs
  2510.     SONY SDT line
  2511.     Teac DCAS 150 and 60
  2512.     WangDAT 1300 and 2600 series
  2513.     WankTEK series 6130 (FS/HF), 5525 and 5050ES.
  2514.  
  2515. It also has a "Generic" entry that will attempt to drive tapes it doesn't
  2516. know about. If you have a drive that isn't supported, let Jim know and he'll
  2517. try to add it.
  2518.  
  2519. NEWtc is up to version 3.33 and is available on jagubox.  Included in the
  2520. package are replacement copies of 'mt', 'tc.7.Z' and 'mt.1.Z'.
  2521.  
  2522. Tony Cooper has written a VERY nice double-buffering copier that greatly
  2523. increases the speed of backups; it's called 'tbb.' It works quite nicely with
  2524. 'tc' (assuming the correct blocking factors)... It's included with the 'NEWtc'
  2525. package.
  2526.  
  2527. Craig Ruff (cruff@ncar.ucar.edu) has written a Teac device driver also, which
  2528. works with both the 150 MB and 60 MB drives. You get the complete source so
  2529. you may "adjust" the driver if you want for other drives.
  2530.  
  2531. The Teac driver is available on jagubox.gsfc.nasa.gov.
  2532.  
  2533. %%% For more information about 'tc', please contact Jim via E-mail %%%
  2534. %%% For more information about 'teac', please contact Craig via E-mail %%%
  2535.  
  2536. ===============================
  2537. D.02)  EtherNet cards and A/UX
  2538. -------------------------------
  2539.  
  2540. D.02)  I have an EtherNet card that works fine under the Macintosh OS
  2541.        but not under A/UX. Why?
  2542.  
  2543. The reason is because to access the card (which is seen as a device by A/UX),
  2544. you need an A/UX device driver for it. This is NOT the same as the stuff you
  2545. had to install under the MacOS for it to work. Now A/UX includes drivers for
  2546. the Apple EtherNet card (they aren't installed by default though), but they
  2547. don't work with most of the 3rd party cards except for the 3Com "EtherLink
  2548. NB", the Asante "MacCon" and the StarNet Networking cards. They are 100%
  2549. register compatible with their Apple counterparts, so you can use Apple's
  2550. 'ae' driver with them. Drivers for the EtherPort II cards are available via
  2551. anon-ftp on jagubox. However, the drivers for the "old" EPII cards (full
  2552. length) only support TCP/IP (they were written for A/UX 1.1 but will work
  2553. under 2.0.x). As far as other cards are concerned, you will have to ask the
  2554. vendor for A/UX drivers for it.
  2555.  
  2556. Please note that there have been numerous reports about problems with the
  2557. EtherPortII cards, A/UX and the IIfx and IIsi... you are warned :)
  2558.  
  2559. =======================================
  2560. D.03)  Can I use my scanner under A/UX?
  2561. ---------------------------------------
  2562.  
  2563. A/UX 3.x.x fully supports the Apple OneScanner as well as providing better
  2564. support for SCSI devices. A/UX will still use its own SCSI driver, however.
  2565.  
  2566. =====================================
  2567. D.04)  Using SyQuest disks under A/UX
  2568. -------------------------------------
  2569.  
  2570. D.04)  I'm trying to use a SyQuest drive under A/UX but it refuses to work.
  2571.        I keep on getting a "more data than device expected" error message.
  2572.        What's wrong?
  2573.  
  2574. The "problem" is with the generic SCSI disk driver under A/UX. For SCSI
  2575. drives, there are certain parameters that may be adjusted by the user; these
  2576. parameters are grouped in "pages." One such page concerns how the disk
  2577. responds to and recovers from errors: the Error Recovery Page. A/UX expects
  2578. the parameters in this page to have certain values. Now the vast majority of
  2579. SCSI disks have the values set as expected, but this isn't the case with
  2580. SyQuest drives. There is one parameter (PER) which is opposite than expected
  2581. by A/UX. When A/UX trys to set this value to what it wants, however, the
  2582. SyQuest drive reads this "request" wrong (the request is 16 bytes but the
  2583. SyQuest only reads 4, so the SCSI Manager reports the error.
  2584.  
  2585. Tony Cooper (tony@marc.cri.nz) has written a Mac application which sets the
  2586. Error Page values correctly: Fix Error Page. This application must be used
  2587. under the MacOS. It can be found on jagubox.gsfc.nasa.gov as well as on
  2588. aux.support.apple.com (aux.patches/unsupported/2.0). You can also use the
  2589. FWB Hard Disk Toolkit - World Control Application to enable the PER bit in
  2590. the recovery page (Page #1).
  2591.  
  2592. This program may also be a help in getting some SCSI-2 devices, such as disks
  2593. and opticals, to work under A/UX. If A/UX sees that the Error Page parameters
  2594. are incorrect, it will attempt to send a Mode Select command to fix them,
  2595. however it will use the SCSI-1/CCS page length instead of the SCSI-2 length,
  2596. which, depending on the drive, will not work.
  2597.  
  2598. By the by, here is the /etc/disktab entry for SyQuest:
  2599.  
  2600.     # SyQuest disk
  2601.     #
  2602.     Syquest|syquest|S45:\
  2603.        :ty=winchester:ns#34:nt#2:nc#1275:
  2604.  
  2605. ==================================================
  2606. D.05)  What 3-button mice work under A/UX (and X)?
  2607. --------------------------------------------------
  2608.  
  2609. The Gravis SuperMouse was a 3-button mechanical mouse that was completely
  2610. configurable and compatible with A/UX and was at the time your best bet.  At
  2611. present, however, the Gravis SuperMouse is no longer manufactured or supported
  2612. at _all_ by Gravis :(
  2613.  
  2614. Older versions of LogiTech's MouseMan are fully compatible with A/UX, as some
  2615. people have been using them with no problems. However, newer versions aren't
  2616. as nice, since you can't reconfigure the button binding.
  2617.  
  2618. Mouse System's A-3 mouse is "fully" compatible with A/UX, but is hard-wired
  2619. configured for A/UX as: Left Button = Actual Mouse Button; Middle Button =
  2620. Left Arrow; Right Button = Right Arrow. The "A-3" power cdev doesn't work
  2621. under A/UX. The A-3 mouse is an optical unit with a nice feel.
  2622.  
  2623. Please note that A/UX 2 & 3 only support a subset of the ADB Manager. Thus
  2624. there are a few ADB devices that may not work under A/UX.
  2625.  
  2626. =====================================================
  2627. D.06)  Is it worth getting a cache card for the IIci?
  2628. -----------------------------------------------------
  2629.  
  2630. Absolutely! The card makes an amazing difference in performance. However,
  2631. this performance increase is reduced when an external monitor is used. For
  2632. more information about extensive benchmarking with the IIci and cache
  2633. cards, you can snag the benchmarking results via anon-ftp on
  2634. redstar.dcs.qmw.ac.uk in archive/papers.
  2635.  
  2636. ====================================================================
  2637. D.07)  How can I figure out the /etc/disktab entry for my hard disk?
  2638. --------------------------------------------------------------------
  2639.  
  2640. Many hard disk applications will reveal the disk drive geometry for you:
  2641. FWB Hard Disk ToolKit is very good (SilverLining is a bit wrong on the number
  2642. of tracks... it includes spares). What you are really looking for are the
  2643. total number of cylinders ('nc'), the number of sectors per track ('ns') and
  2644. the number of tracks ('nt'). Also, I'm maintaining a list of /etc/disktab
  2645. entries. If you have any, send it to me and I'll add them.
  2646.  
  2647. The file is available on jagubox.
  2648. <<ED: I need _LOTS_ of entries>>
  2649.  
  2650. Just a note: the number of tracks ('nt') is equal to the number of heads.
  2651.  
  2652. ==========================================
  2653. D.08)  Which serial cards work under A/UX?
  2654. ------------------------------------------
  2655.  
  2656. There are a number of serial cards that "work" with A/UX. The Apple serial
  2657. card is NOT one of them.
  2658.  
  2659.  o There is the Digiboard Nu/Xi, which comes in 4 and 8 port versions.  Brand
  2660.    new drivers for the card have been coded and are available. This version
  2661.    (3.3.0) however, doesn't currently work with CSlip but otherwise works
  2662.    great.  You can snag the drivers via anon-ftp from digibd.com (which is
  2663.    192.83.159.193) in drivers/mac.
  2664.  
  2665.    Technical Support for DigiBoard is 612-943-9020. If you'd like to contact
  2666.    the main engineer responsible for the drivers, contact Brian Westley at the
  2667.    following Email addresses:
  2668.  
  2669.       merlyn@digibd.com
  2670.       ...uunet!digibd!merlyn
  2671.       AppleLink: merlin
  2672.  
  2673. o There is also the Creative Solutions, INC (CSI) HQS/HDS v4.4/4.5 Hurdler
  2674.   Serial Nubus cards. These cards have both pure UNIX _and_ MacOS device
  2675.   drivers (i.e. a 'newconfig' code module and a MacOS INIT/DRVR module). The
  2676.   A/UX drivers support baud rates up to 57.6k and 115.2k using the 'B50' and
  2677.   'B75' flags, true hardware handshaking while monitoring DCD for Dialup
  2678.   security, and full compatibility with CSlip and PPP and their associated
  2679.   daemons. The A/UX-MacOS drivers are fully compatible with all CommToolbox
  2680.   functions and serial drivers. These are very nice cards :)
  2681.  
  2682.   The recommended cable-pin out for these cards is:
  2683.  
  2684.         Mac          Modem
  2685.     Male Mini-Din-8  DB-25
  2686.     --------------------------------------------
  2687.     1 (HskO)  ---   4   (RTS)
  2688.     2 (HskI)  ---   5   (CTS)
  2689.     3 (TxD-)  ---   2   (TxD)
  2690.     4 (GDN)   ---   7   (SigGnd)
  2691.     5 (RxD-)  ---   3   (RxD)
  2692.     6 (TxD+)  ---   7   (SigGnd)or(NC)
  2693.     7 (GPi)   ---   8   (DCD)
  2694.     8 (RxD+)  ---   7   (SigGnd)
  2695.                     6 -- (DSR)
  2696.                         |
  2697.                    20 -- (DTR)
  2698.  
  2699.   Also, for logins, you should be using the FLOW flag in the gettydefs file as
  2700.   for example:
  2701.  
  2702.    fl_38400#B38400 # B38400 SANE2 TAB3 # ~MODEM ~DTR FLOW #\r\nlogin: #fl_38400
  2703.  
  2704.   For further info about the drivers, or for _any_ help is using this card,
  2705.   please contact Alan M. Friedman at Intelligent Interfaces, Inc:
  2706.  
  2707.      alan@kether.intellint.com
  2708.      AppleLink: D5620
  2709.  
  2710.   You can contact CSI at csi@applelink.apple.com (AppleLink: CSI).
  2711.  
  2712.  o Another is Paul Campell's Taniwha CommCard. This card does indeed work
  2713.    with all versions of A/UX including 3.x.x. It has special support for
  2714.    UUCP.  It has a few mysterious and not very important problems. It's an
  2715.    excellent buy. The only problem is, it's not on the market anymore. If you
  2716.    can get one used, though, it's worth getting. The one downside is that,
  2717.    like Apple's ports, it won't SIMULTANEOUSLY support modem and hardware flow
  2718.    control. It is immune to many of the nasty bugs which affect the built-in
  2719.    serial ports, including the two (at least) which can crash the kernel.
  2720.  
  2721.  o Yet another is the Applied Engineering QuadraLink serial card. According
  2722.    to sources, the board was super easy to setup and use. It also appears
  2723.    very solid as far as performance.
  2724.  
  2725.    The AE QuadraLink card, like the CommCard and the Apple ports, can't do
  2726.    both hardware handshaking and modem control at the same time. No hardware
  2727.    patch kit will be developed for the AE card...
  2728.  
  2729. ===========================================
  2730. D.09)  lpr printer problems with LW IIg|IIf
  2731. -------------------------------------------
  2732.  
  2733. D.09)  I'm using a LaserWriter IIg with A/UX 3.x.x and whenever I print some-
  2734.        thing to it through 'lpr', the first line of the page is cut off. Why?
  2735.  
  2736. This only shows up on versions of the IIg (and IIf) with less than 5MB RAM.
  2737. The reason is because this makes the LW default to PhotoGrade-mode. You can
  2738. do 2 things to fix this:
  2739.  
  2740.     1. Using the LaserWriter Utility program, disable PhotoGrade.
  2741.        Since one of the main advantages of these LW's is PhotoGrade,
  2742.        this option is kinda unpalatable.
  2743.  
  2744.     2. If you are _only_ using "Letter" mode under 'lpr', then you
  2745.        can edit /usr/lib/ps/pstext.pro to include the following line
  2746.        between "% RCSID:..." and "/StartPage...":
  2747.  
  2748.        %!PS-Adobe-1.0
  2749.        % Z%Copyright Apple Computer 1987\tVersion 1.1 of pstext.pro on\
  2750.          87/05/04 19:02:25
  2751.        %%Creator: pstext
  2752.        %%DocumentFonts: Courier
  2753.        % RCSID: $Header: pstext.pro,v 2.1 85/11/24 12:19:55 shore Rel $
  2754. ====>>>letter 
  2755.        /StartPage{/sv save def 48 760 moveto}def
  2756.  
  2757. This will fix the problem and make it usable again.
  2758.  
  2759. ===============================
  2760. D.10)  'tc' errors and blocking
  2761. -------------------------------
  2762.  
  2763. D.10)  I'm trying to access my tape drive using 'tc' (with something like
  2764.        "find . -print | cpio -o > /dev/rmt/tc1") but it doesn't work...
  2765.  
  2766. Except for 9-track magtapes, all I/O to tape drives associated with the 'tc'
  2767. device files _must_ be blocked at 8k. The 'tcb' program does just that so
  2768. that should be included. For example, to write:
  2769.  
  2770.     $ find . -print | cpio -o | tcb > /dev/rmt/tc1
  2771.  
  2772. And to read:
  2773.  
  2774.     $ tcb < /dev/rmt/tc1 | cpio -i
  2775.  
  2776. You can get better performance if you increase the buffer size (just make
  2777. sure that it's a multiple of 8k). For example, you could use 'dd' as your
  2778. blocking filter with a 'bs=10x8k'.
  2779.  
  2780. Jim Jagielski's replacement for 'tc' allows for 'tc' to use the tape drive's
  2781. own physical block size as the logical block size for I/O. Doing so results
  2782. in a bit of a performance hit so it isn't recommended for normal use. You
  2783. should use the "mode" only if you need to read tapes written by 'st' or by
  2784. another platform. Please note you are still limited to an I/O block size of
  2785. at least the physical block size, which can be anything for 512 to 1024 to
  2786. 8192 bytes.
  2787.  
  2788. %%% For more information about 'tc', please contact Jim via E-mail %%%
  2789.  
  2790. =========================================================
  2791. D.11)  What CD-ROM drives are compatible with A/UX 3.x.x?
  2792. ---------------------------------------------------------
  2793.  
  2794. The original Apple CD-ROM drive (CD SC) is 100% compatible with A/UX as is
  2795. the newer CD-150. Older versions of the CD-300 (those with pre 1.8f ROMS)
  2796. would cause problems with A/UX and would do little more than allow you to
  2797. install A/UX, making it almost useless for day-to-day use. One of the fixes
  2798. of 3.0.2 is _much_ better support for all versions of the CD-300, although
  2799. Apple does suggest that you update the CD-ROM drive's ROMs with the latest
  2800. version if you have problems. I've heard that you can get the latest ROMs by
  2801. calling 1-800-SOS-APPL or seeing your Apple dealer. The following are also
  2802. known to be 100% compatible (meaning you can use them to install A/UX as well
  2803. as when running A/UX):
  2804.  
  2805.     The Toshiba XM3201, XM3301B XM3401B
  2806.     DEC RRD42, RRD40 (LMSI CM-212)
  2807.     Denon DRD 253
  2808.     Sun CD-ROM (Sony CDU-8012?)
  2809.     CD-Technologies Porta-Drive CD-ROM
  2810.     Chinon CDA-431
  2811.  
  2812. 3.1 adds support for NEC CD-ROMs; previous versions of A/UX weren't able to
  2813. work with these units due to their physical block size.
  2814.  
  2815. ==================================
  2816. D.12)  Audio CD support under A/UX
  2817. ----------------------------------
  2818.  
  2819. D.12)  I've tried to install the CD Remote extension to A/UX so that
  2820.        I can play audio CD's, but it doesn't work...
  2821.  
  2822. By itself, A/UX doesn't support audio CDs. However, there are 2 software
  2823. packages that add this capability:
  2824.  
  2825. The first package is xmcd/cda, which provides both a X-Motif (xmcd) and
  2826. generic command-line (cda) interface for playing audio CDs under A/UX.
  2827. The package requires that the 'devscsi' kernel package be installed, so
  2828. it will work under 3.x.x. xmcd/cda was written by Ti Kan (ti@bazooka.amb.org).
  2829. and can be found on ftp.x.org:/contrib/applications/xmcd.
  2830.  
  2831. The second package is a MacOS-patch to enable you to use the CD Remote
  2832. application. Kelly King and Andrew Kass (at Apple), however, have written the
  2833. "AUX SCSI Toolbox" extensions that emulates the Mac SCSI Manager. With this
  2834. extension installed, you can run applications and drivers that talk to the
  2835. Mac SCSI Manager, including the Apple CD-ROM driver! With this extension, you
  2836. can listen to your audio CDs under A/UX! This is the latest version of the
  2837. extension: 1.0b4.
  2838.  
  2839. "AUX SCSI Toolbox" is available via ftp on jagubox under:
  2840.  
  2841.    /pub/aux/Apple.fixes/unsupported/3.0.x/SCSItlbx.tar.gz
  2842.  
  2843. Please read the included ReadMe before installing and using it.
  2844.  
  2845. ==================================================
  2846. D.13)  What UNIX CD-ROM formats does A/UX support?
  2847. --------------------------------------------------
  2848.  
  2849. Other than the "normal" A/UX SysV and UFS file system type, A/UX supports
  2850. ISO-9660 file system format CD-ROMs. However, you can only access these CDs
  2851. from the MacOS environment; you can't "mount" them in the normal UNIX-way. As
  2852. distributed, A/UX doesn't include the needed Extensions that allow the MacOS
  2853. Environment from recognizing these CDs. To fix this, you need to copy the
  2854. following Extensions from the Apple CD-ROM Software disks (version 3.2 or
  2855. later) to the System Folder of the user(s) that need access to these CDs:
  2856.  
  2857.    o Foreign File Access
  2858.    o High Sierra File Access
  2859.    o ISO 9660 File Access
  2860.  
  2861. The docs are a little blurry on this (even though it's specifically mentioned
  2862. in Chapter 5 of the "Setting Up Accounts and Peripherals for A/UX") since they
  2863. say that you don't need to add any _kernel_ resources...
  2864.  
  2865. One of A/UX's quirks is that all files on ISO-9660 CDs are "seen" as TEXT
  2866. type files. This causes troubles with binary files since when you try to
  2867. drag them over to the "/" disk, A/UX will perform it's \r->\n translation.
  2868. To avoid this from happening, you can:
  2869.  
  2870.    1 Drag the file(s) over to a MacOS HFS disk. Then use ResEdit (or something
  2871.      similar) to change the file Creator to "A/UX" and Type to "BIN " (note the
  2872.      space!). Now you can drag the file over to "/".
  2873.  
  2874.    2 Use ResEdit to look at the NCOD resource in the "ISO 9660 File Access"
  2875.      extension. Open the "Main" resource in NCOD. Now change the string
  2876.      "TEXT" to "BIN " and "hscd" to "A/UX". Save, logout and login. This
  2877.      changes things so that _all_ files on the CD-ROM appear as non-Text,
  2878.      CommandShell files, so that A/UX will _not_ perform any translation.
  2879.  
  2880. Again, please note that A/UX will not recognize _any_ of the audio capability
  2881. of CD-ROMs unless you add the "AUX SCSI Toolbox" extension described in Q&A
  2882. #D.12.
  2883.  
  2884. ====================================================================
  2885. D.14)  How can I add printers other than those available in Chooser?
  2886. --------------------------------------------------------------------
  2887.  
  2888. <<ED: From a post by Antonio Ordonez (antonio@apple.com)>>
  2889.  
  2890. If the printer is in another zone, it is necessary to define the zone in
  2891. which the printer is located with a full path name.  You can then "hardwire"
  2892. a printer name including the zone for a particular printer queue.
  2893.  
  2894. The best way to do this is to make a copy the /usr/spool/lpd/AppleTalk
  2895. directory and give it a name related to the printer we want to use. Modify
  2896. the file ifilter/ofilter/nfilter  (it is the same file with 3 hard links) in
  2897. this directory. Also modyfy the /etc/printcap file to create a new printer
  2898. queue.
  2899.  
  2900. I will use my system as an example so please modify to reflect your
  2901. situation.
  2902.  
  2903. The first thing to do is to create the new directory and put the correct
  2904. files in it. NOTE that I am using mknod to create the pipe file.
  2905.  
  2906. mkdir Idaho
  2907. chown daemon Idaho
  2908. chgrp daemon Idaho
  2909. cp AppleTalk/ifilter Idaho/ifilter
  2910. cd Idaho
  2911. ln ifilter ofilter
  2912. ln ofilter nfilter
  2913. mknod pipe p
  2914. chown daemon *
  2915. chgrp daemon *
  2916.  
  2917. In my case I have a printer called "Idaho Spooler" in the zone "SCV CAM2
  2918. 2nd W"  while my system is on the zone "SCV CAM2 2nd E", so all I do is to
  2919. modify the /usr/spool/lpd/Idaho/ifilter file (you can use vi or
  2920. TextEditor)
  2921. and change the line that defines the value for Printer from
  2922.  
  2923. Printer=`basename "cwd"`
  2924.         -to-
  2925. Printer="Idaho Spooler:LaserWriter@SCV CAM2 2nd W"
  2926.  
  2927. In the /etc/printcap file I copy the entry for AppleTalk (all six lines) and
  2928. change any reference to AppleTalk to the name I used for my new directory.
  2929. Again, in my case I used "Idaho" as the directory name so my /etc/printcap
  2930. file looks like:
  2931.  
  2932.   #
  2933.   # pragma ident "@(#)lpr:printcap        5.4 90/03/27 "
  2934.   #
  2935.   # Copyright 1990 Apple Computer, Inc.
  2936.   # All Rights Reserved.
  2937.   ##
  2938.   # Remote AppleTalk printer (selected by Chooser)
  2939.   # For an AppleTalk printer which doesn't support PostScript remove last 2
  2940.   names.
  2941.   lp|at|AppleTalk|postscript|PostScript:\
  2942.           :lp=/dev/null:\
  2943.           :if=/usr/spool/lpd/AppleTalk/ifilter:\
  2944.           :of=/usr/spool/lpd/AppleTalk/ofilter:\
  2945.           :nf=/usr/spool/lpd/AppleTalk/nfilter:\
  2946.           :sd=/usr/spool/lpd/AppleTalk:
  2947.   lp2|Idaho:\
  2948.           :lp=/dev/null:\
  2949.           :if=/usr/spool/lpd/Idaho/ifilter:\
  2950.           :of=/usr/spool/lpd/Idaho/ofilter:\
  2951.           :nf=/usr/spool/lpd/Idaho/nfilter:\
  2952.           :sd=/usr/spool/lpd/Idaho:
  2953.  
  2954. After all these steps are completed restart the printer queue with the command
  2955.  
  2956.     lpc restart all
  2957.  
  2958. Now you should be able to send a print job to the printer in the other zone
  2959. with the command
  2960.  
  2961.     lpr -Plp2 /etc/passwd
  2962.  
  2963. or
  2964.  
  2965.     lpr -PIdaho /etc/passwd
  2966.  
  2967. Hope this helps
  2968.  
  2969. ============================================================
  2970. D.15)  What 3rd party accelerators are compatible with A/UX?
  2971. ------------------------------------------------------------
  2972.  
  2973. For the most part, all DayStar Digital accelerators are compatible with A/UX
  2974. 3.0 even if their controlling CDEVs don't work under A/UX (the accelerator
  2975. must be enabled with the CDEV before booting A/UX). However, their 040
  2976. accelerators do NOT work under A/UX. In fact, except for Apple's own Quadra
  2977. 700 Logic Board Upgrade, there are no 040 accelerators that work (i.e. don't
  2978. crash) under A/UX.
  2979.  
  2980. There has been at least 1 report of the DayStar-accelerated MacII not working
  2981. under 3.0.2... it's possible that 3.0.2 is more sensitive to timing than 3.0
  2982. was... If in doubt, be _sure_ that you can return the accelerator if you
  2983. can't run it under A/UX.
  2984.  
  2985. According to Daystar Digital, the DayStar QuadraCache is _not_ compatible
  2986. with A/UX. DayStar is working on a fix... Nonetheless, there are a number of
  2987. people (including people at Apple) who are using these cache cards with no
  2988. problems at all and with very nice (~25%) performance boosts.
  2989.  
  2990. << ED: This is kinda skimpy, but I'd thought I'd start it up. EMail me
  2991.        your list >>
  2992.  
  2993. ==============================================================
  2994. D.16)  Will the old serial HP DeskWriter work under A/UX?
  2995. --------------------------------------------------------------
  2996.  
  2997. No, it won't... You need to use AppleTalk to use it under A/UX.
  2998.  
  2999. ================================================
  3000. D.17)  How can I use a HP DeskWriter under A/UX?
  3001. ------------------------------------------------
  3002.  
  3003. For the answer, snag a copy of DeskWriter.txt which is available via anon-
  3004. ftp on jagubox in /pub/aux/Info.
  3005.  
  3006. ======================================
  3007. D.18)  Does A/UX support 24-bit color?
  3008. --------------------------------------
  3009.  
  3010. Yes.
  3011.  
  3012. There is one major caveat, that will hopefully be addressed in future
  3013. versions. On startup, A/UX reinitializes all hardware drivers, including
  3014. the video-drivers; as a result, most accelerated 24-bit cards (all third-
  3015. party cards known to date, as well as Apple's old 8*24 GC card) will be
  3016. reinitialized to run in non-accelerated mode. You'll still get 24-bit video,
  3017. but depending on your hardware, it may be painfully slow.
  3018.  
  3019. This could be solved by better driver support from the vendors of accelerated
  3020. video cards. Certain vendors have been promising such support for awhile now.
  3021.  
  3022. The best hardware to run A/UX with 24-bit video enabled are currently
  3023. the Quadra 700, 900, and 950, whose internal video can be populated with
  3024. enough VRAM to support 24-bit color (note that the Q800 cannot do this !).
  3025. Performance is considered good under A/UX by many users.
  3026.  
  3027. The following is a list of 24-bit cards that readers have reported work with
  3028. A/UX from personal experience. It is NOT a complete list; there have been no
  3029. reports of cards that work under MacOS but not A/UX (excepting the caveat
  3030. detailed above):
  3031.  
  3032.     Apple 8*24, 8*24GC
  3033.     Quadra 700, 900, 950 internal video
  3034.     PrecisionColor PRO 24xp
  3035.     RasterOps 24STV, Paintboard li
  3036.     Radius 24XP, 24XK
  3037.  
  3038. =================================================
  3039. D.19)  What's the specifics on the AWS95 PDS Card?
  3040. -------------------------------------------------
  3041.  
  3042. The AWS95 PDS Card (known as "Pisces") has two main functional additions to
  3043. the Q950. The first is that it includes an external level-2 cache for the
  3044. Quadra's 68040. The cache size is 128K, but this can be increased with Apple
  3045. provided SRAM upgrade kits. The use of a L2 cache increases the base perfor-
  3046. mance of the Q950.
  3047.  
  3048. The second capability that Pisces includes is the addition of two additional
  3049. upgraded SCSI buses. Pisces fully supports Direct Memory Access (DMA) on these
  3050. SCSI buses. This can greatly increase SCSI throughput by offloading SCSI
  3051. operations to the PDS card. The card supports active termination and negation
  3052. on the 2 SCSI DMA buses, improving signal quality and integrity.
  3053.  
  3054. =================================================
  3055. D.20)  What are the specifics of SCSI under A/UX?
  3056. -------------------------------------------------
  3057.  
  3058. SCSI under A/UX is SCSI-1/CCS and not SCSI-2. However, A/UX can use most
  3059. SCSI-2 devices. Problems will arise on some SCSI-2 disks if their Error
  3060. Correction Mode Pages are incorrect (See Q&A D.04). A/UX supports SCSI
  3061. connect/disconnect which results in more efficient use of the SCSI bus.
  3062. Finally, A/UX provides asynchronous I/O as well.
  3063.  
  3064. =========================================================
  3065. D.21)  I can't get my LaserJet 4M to work reliably. Help!
  3066. ---------------------------------------------------------
  3067.  
  3068. Bad news... for some reason, if the LaserJet is connected _directly_ to a
  3069. Q700 running A/UX via AppleTalk then it won't work. If you have a router or
  3070. something similar between the two it'll work like a hose. It looks like it's
  3071. most probably a 4M ROM bug and I hear that HP is "working" on a fix.
  3072.  
  3073. ==========================================================
  3074. D.22)  Does the Apple Adjustable Keyboard work under A/UX?
  3075. ----------------------------------------------------------
  3076.  
  3077. No it doesn't... This is due to the way the Adjustable keyboard actually
  3078. works and the fact that A/UX doesn't fully support the ADB Manager. :(
  3079.  
  3080.  
  3081.  
  3082. :::::::::::::::::::::::::::::::::::
  3083. ::::: PORTING AND PROGRAMMING :::::
  3084. :::::::::::::::::::::::::::::::::::
  3085.  
  3086. ================================================================
  3087. P.01)  How come rn|elm|less|etc... act weird concerning signals?
  3088. ----------------------------------------------------------------
  3089.  
  3090. Well, it's not really them at all. Many people have found that more than a
  3091. few ports require the addition of the 'set42sig()' call to enable BSD 4.2
  3092. signal delivery. The best place to add this is as the 1st executable statement
  3093. under
  3094.  
  3095.     "main() {"
  3096.  
  3097. Another point about porting applications: A/UX's 'cc' does provide "strict"
  3098. BSD, SystemV and Posix libraries. If you are porting a BSD program, you can
  3099. enable BSD "emulation" by adding the "-ZB -lbsd" options to your 'cc' command
  3100. line. In fact, using just the '-lbsd' option alleviates the need for adding
  3101. the 'set42sig()' call mentioned above and is, in many cases, the suggested
  3102. option. Compiling with gcc also helps out a great deal.
  3103.  
  3104. ===================================
  3105. P.02)  Is X11R5 available for A/UX?
  3106. -----------------------------------
  3107.  
  3108. Yes! Thomas Eberhardt has ported X11R5 and the binaries (which includes full
  3109. shared libraries) for A/UX are available via anon-ftp on wuarchive.wustl.edu
  3110. under systems/aux/X11R5 (our overseas friends should get it from
  3111. ftp.uni-stuttgart.de due to US Export regs).  Patches for X11R5 compiled with
  3112. gcc are also available. It looks like it results in a nice 10-20% increase in
  3113. performance! Thomas had "taken over" X11R5 with his new port; John Coolidge
  3114. used to do it...
  3115.  
  3116. %%% For more information about X11R5 for A/UX, E-mail Thomas %%%
  3117.  
  3118. ====================================
  3119. P.03)  FSF GNU doesn't support A/UX?
  3120. ------------------------------------
  3121.  
  3122. P.03)  I've noticed that FSF GNU doesn't support A/UX. Does that mean
  3123.        I'll miss out on all the neat Gnu-stuff like gcc?
  3124.  
  3125. Although it's true that FSF is "boycotting" Apple and A/UX (FSF doesn't like
  3126. Apple's predisposition of suing to protect "look and feel"), ports of most
  3127. Gnu applications are available. Of particular interest is gcc version 2.5.7
  3128. which has been ported by John Coolidge (coolidge@apple.com) and is available
  3129. via anon-ftp on wuarchive.wustl.edu in systems/aux/gnu. The binaries, sources
  3130. and diffs are all available.
  3131.  
  3132. GCC version 2.5.7 for A/UX has been ported and is available... Highly
  3133. recommended!
  3134.  
  3135. As a nice compliment to using GCC, gdb (4.9) is also available.
  3136.  
  3137. %%% For more info about gcc for A/UX, please contact John via E-mail %%%
  3138.  
  3139. =======================================
  3140. P.04)  Mail reader problems under A/UX
  3141. ---------------------------------------
  3142.  
  3143. P.04)  I've ported Elm (or other mail reader) and it doesn't seem to work.
  3144.        Why?
  3145.  
  3146. It seems most likely that the reason is because they attempt to use a
  3147. different file locking scheme that /bin/mail does. Pre-3.0 versions of mail
  3148. used 'flock' style file locking. 3.x.x now uses the '.lock' scheme for mail
  3149. file locking. Elm 2.4.X requires that both flock and .lock be enabled. Elm
  3150. 2.3.X requires _only_ .lock locking.
  3151.  
  3152. =============================================
  3153. P.05)  What languages are available for A/UX?
  3154. ---------------------------------------------
  3155.  
  3156. A/UX comes with a C compiler ('cc'), a FORTRAN-77 compiler ('f77') as well
  3157. as an assembler ('as'), SNOBOL ('sno') and a kinda-basic interpreter ('bs').
  3158. 'cc' is a nice, stable, if not-too-quick compiler. 'f77' is a true FORTRAN-77
  3159. compiler and appears quite workable. I've not used 'sno' (I couldn't recall
  3160. how to program in SNOBOL if my life depended on it :) or 'bs'.
  3161.  
  3162. If you are doing any work in C, then it would be well worth it to get a copy
  3163. of the GNU C compiler ('gcc') (see Q&A #P.03). gcc is K&R and ANSI compatible
  3164. so if you are doing ANSI work you'll need it. Apple also has an ANSI C
  3165. compiler ('c89') that you can buy. It's available on the "A/UX Developer's
  3166. Toolkit CD" from APDA. There is also at least one other 3rd-party C compiler
  3167. out there, but I can't recall it's name right now. gcc is free; c89 runs
  3168. about $800. Both include C++ capabilities.
  3169.  
  3170. There are also 2 very good 3rd-party FORTRAN compilers: NKR FORTRAN and Absoft
  3171. MacFORTRAN II. In my opinion, MacFORTRAN II is the better product...  it has
  3172. finer compiler control, a wide number of compatibility options (such as VAX
  3173. FORTRAN) and excellent speed. If you do order MFII, be _sure_ to get the A/UX
  3174. version. They also sell an MPW version that will work under A/UX but it's
  3175. run under, you guessed it, MPW. The A/UX version is a true "Unix" compiler
  3176. and it's optimized for A/UX. Both MFII and NKR FORTRAN run about $500-$600.
  3177.  
  3178. Oasys sells 3 compiler packages: C, C++ and FORTRAN. All the compilers are
  3179. based on the GreenHills compilers which are known to be robust and fast.
  3180. However, the Oasys packages are expensive, running about $2000 per language
  3181. (although you do get assemblers and linker/loaders with the package).  Unisoft
  3182. used to distribute their "Optimizing Compilers" (FORTRAN and C) for A/UX,
  3183. but they are no longer available... Pity, because they also were based on
  3184. GreenHills and were quite nice.
  3185.  
  3186. At present, I know of no true Pascal compilers for A/UX.
  3187.  
  3188. Finally, if you are doing program development, then you'll need a good
  3189. debugger. As described above in "List of ports...", gdb has been ported if
  3190. you would prefer using something other than sdb or dbx, which are included
  3191. with A/UX. If you are using FORTRAN, then Absoft also makes an excellent
  3192. debugger which has been fine-tuned to work with MFII (it also does quite well
  3193. with C); it's called FX. It has two interfaces, character and Motif, and is
  3194. quite powerful.
  3195.  
  3196. =======================================
  3197. P.06)  Is OSF/Motif available for A/UX?
  3198. ---------------------------------------
  3199.  
  3200. The only source for OSF/Motif (1.1.4) for A/UX that I know of is:
  3201.  
  3202.    Integrated Computer Solutions
  3203.    201 Broadway
  3204.    Cambridge, MA 02139
  3205.    617-547-0510
  3206.  
  3207. However, they have stopped producing this and have since stopped support for
  3208. A/UX OSF/Motif. They may still have a few copies of it available, so if you
  3209. don't mind using unsupported software, give them a call.
  3210.  
  3211. If you have, or can get, the actual source code for Motif then the following
  3212. will be of some help: 1.1.4 compiles with minimal changes to the source using
  3213. 'cc' and works "great." However, the source for 1.2.2 makes calls to various
  3214. XIM multi-character routines, leaving many unresolved externals when linking.
  3215. Now, if someone ported X11R5 and left the XIM routines intact, then maybe
  3216. compiling and linking 1.2.2 would go off without a hitch... Any takers??
  3217.  
  3218. ===========================
  3219. P.07)  Looking for 'ranlib'
  3220. ---------------------------
  3221.  
  3222. P.07)  While trying to port some software, the Makefile looks
  3223.        for a program called 'ranlib' and dies when it can't
  3224.        find it. What is it and where can I get it.
  3225.  
  3226. 'ranlib' is a program that increases the efficiency of accessing and using
  3227. archives (*.a files). A/UX's 'ar' already does this, so it isn't needed.
  3228. To get around this, do something like:
  3229.  
  3230.     ln /bin/true /bin/ranlib
  3231.  
  3232. You could also use '/bin/touch' but the above will (hopefully) take care of
  3233. cases when ranlib is called with options. If you want to put 'ranlib'
  3234. somewhere else, then that's OK. If the location is a different file system,
  3235. then you'll need to use a symbolic link:
  3236.  
  3237.     ln -s /bin/true /usr2/local/bin/ranlib
  3238.  
  3239. ==============================
  3240. P.08)  Looking for 'setlocale'
  3241. ------------------------------
  3242.  
  3243. P.08)  When compiling, I get the message that 'setlocale' is
  3244.        an "undefined symbol"... what's going on?
  3245.  
  3246. The 'locale' suite can be found in /lib/libposix.a. To avoid linking to
  3247. libposix.a you can do the following to create a separate locale library:
  3248.  
  3249.    $ ar xv /lib/libposix.a locale.o
  3250.    $ ar rv /usr/lib/liblocale.a locale.o
  3251.  
  3252. Now you can simply link to '-llocale' to add it in.
  3253.  
  3254.  
  3255.  
  3256. :::::::::::::::::::::::::
  3257. ::::: COMMUNICATION :::::
  3258. :::::::::::::::::::::::::
  3259.  
  3260. ==================================
  3261. C.01)  'getty' problems under A/UX
  3262. ----------------------------------
  3263.  
  3264. C.01)  I'm unable to start a getty process on a built-in serial port. When
  3265.        I use 'setport' to enable the port, I get a "no such device" error.
  3266.        Configuring /etc/inittab to respawn getty on the port has no effect.
  3267.  
  3268. AppleTalk is probably enabled for the port. The getty process can be started
  3269. temporarily by turning off AppleTalk via A/UX's Finder Chooser and THEN
  3270. using the 'setport' command.
  3271.  
  3272. You can permanently disable AppleTalk by reconfiguring the kernel with
  3273. "newconfig noappletalk". If you wish to keep the drivers installed in the
  3274. kernel but still want to "permanently" disable AppleTalk, you can edit
  3275. /etc/startup to prevent AppleTalk from initializing and /etc/inittab can be
  3276. editted to start getty. (NOTE: /etc/startup is regenerated by newconfig so
  3277. you'll have to redo this if you reconfigure the kernel).
  3278.  
  3279. If you don't have an EtherTalk card installed, then you can also modify
  3280. /etc/appletalkrc to point to "ethertalk0" instead of "localtalk0". Doing
  3281. this stops AppleTalk from bothering the serial port because it tries to use
  3282. the non-existant card.
  3283.  
  3284. ========================================
  3285. C.02)  sendmail problems with /etc/hosts
  3286. ----------------------------------------
  3287.  
  3288. C.02)  I am using and depending on /etc/hosts to do all my hostname resolving
  3289.        (i.e. not using named or /etc/resolv.conf). How come I can't mail
  3290.        to other hosts, but I can ping|ftp|etc... them?
  3291.  
  3292. Well, the problem is actually with sendmail (in /usr/lib). sendmail (under
  3293. A/UX 2.0 and later) assumes the use of a nameserver. Pre-2.0 versions were
  3294. "adjusted" to look in /etc/hosts if any nameserver call failed (which it
  3295. would if it wasn't running, of course :).
  3296.  
  3297. Jim Jagielski (jim@jagubox.gsfc.nasa.gov) has hacked sendmail 5.65 for A/UX
  3298. to have it also check /etc/hosts. The source code is available on jagubox.
  3299.  
  3300. You may also want to upgrade to smail 3.1.28. smail is a very powerful yet
  3301. easy to configure (and maintain) replacement for sendmail. It can both query
  3302. the NameServer as well as look in /etc/hosts to "interpret" hostnames. The
  3303. required A/UX-related diffs and patches, which were written by Bob Denny
  3304. (denny@alisa.com) are available on jagubox.
  3305.  
  3306. %%% For more info, contact Jim %%%
  3307.  
  3308. =================================================
  3309. C.03)  "not a typewriter" error message with mail
  3310. -------------------------------------------------
  3311.  
  3312. C.03)  When I try to mail something, I get the following error message:
  3313.        "Cannot read frozen config file: not a typewriter". What's wrong?
  3314.  
  3315. This message is produced by sendmail (/usr/lib/sendmail) when it's frozen
  3316. configuration file (/usr/lib/sendmail.fc) is unusable (as it is in the A/UX
  3317. distribution which has it as a 0-byte file). To create a "new" frozen file
  3318. of your present sendmail.cf file (assuming that it's good), type:
  3319.  
  3320.     $ /usr/lib/sendmail -bz
  3321.  
  3322. (the sendmail daemon, if it exists, must be killed 1st).
  3323.  
  3324. ============================
  3325. C.04)  Remote logins on tty0
  3326. ----------------------------
  3327.  
  3328. C.04)  How do I set up my Mac and A/UX to enable remote logins via a modem
  3329.        on tty0?
  3330.  
  3331. First of all, you must edit /etc/inittab to start getty on tty0 using mo_2400
  3332. (or whatever speed you want, such as mo_9600):
  3333.  
  3334.     00:2:respawn:/etc/getty -u -t 60 tty0 mo_2400
  3335.  
  3336. Make sure that your modem is set to be quiet, to not return result codes and
  3337. to not echo back. It must also reset on DTR being dropped ("atq1e0&d3" will
  3338. achieve this for most Hayes-compatible modems except certain (all) USR
  3339. modems). Your modem must also raise DCD on connection ("at&c1") in order to
  3340. have Dialup security (i.e. when the line is closed, HangUp the process.  This
  3341. means that MODEM flow control must be specified in gettydefs). You then save
  3342. these changes using the "at&w" sequence. Finally, to make it autoanswer, be
  3343. sure to add "ats0=1&w".
  3344.  
  3345. Make sure that the modem cable is correctly configured (NOTE: This is for
  3346. Dialup Security!):
  3347.  
  3348.     Mac       Modem
  3349.     --------------------
  3350.     1 (HskO)  20 (DTR)
  3351.               4  (RTS)  <- yep... it gets sent to Pin 20 & 4
  3352.     2 (HskI)  8  (DCD)
  3353.     3 (TxD-)  2  (TxD)
  3354.     4 (GDN)   7  (Sgnd)
  3355.     5 (RxD-)  3  (RxD)
  3356.     6 NO CONNECT
  3357.     7 NO CONNECT
  3358.     8 (RxD+)  7  (Sgnd)  <- this is right, it gets tied to Mac pin 4 too.
  3359.  
  3360. If you mess up pin 8 things can get so flaky that you'll never figure out
  3361. what's going on. You see, by grounding pin 8, you make the modem port truly
  3362. RS-232 compatible. If not grounded, the port will use the RS-422 standard,
  3363. which can cause lots of problems. For more info about pinouts and cable
  3364. pinouts, check out "/usr/lib/uucp/README".
  3365.  
  3366. Please note that getty is the bidirectional version of getty, which is
  3367. sometimes known as uugetty. Thus, you can have dial in and dial out at the
  3368. same time on the same port. You should be using at least version 1.16 of HDB
  3369. (see above: "known bugs" and Q&A #A.16)
  3370.  
  3371. As mentioned above, the cable described provides for Dialup Security and
  3372. prevents the use of hardware flow control... If, however, the exact same
  3373. baudrate is used throughout the phone link, the need for hardware flow
  3374. control is greatly reduced.
  3375.  
  3376. ==================================
  3377. C.05)  'talk' and other UNIX boxes
  3378. ----------------------------------
  3379.  
  3380. C.05)  How come I can't use 'talk' with some of the other Unix boxes out
  3381.        there, and they can't talk to me?
  3382.  
  3383. The reason why is because there are two versions of talk (and it's daemon
  3384. talkd) out there. A/UX uses the BSD 4.2 version. Others use the 4.3 version.
  3385. The two aren't compatible and don't even talk on the same port. If you try
  3386. to talk to someone and all you get is a "Checking for invitation..." message
  3387. then it's because the machine you're trying to access is using 4.3.
  3388.  
  3389. Steve Green (xrsbg@dirac.gsfc.nasa.gov) has ported the 4.3 versions of talk
  3390. and talkd (now renamed ntalk and ntalkd for A/UX) to overcome this snag. You
  3391. can have both versions available and running with no problems. The port is
  3392. available on jagubox.gsfc.nasa.gov.
  3393.  
  3394. =====================================================
  3395. C.06)  How can I convince A/UX to forward IP packets?
  3396. -----------------------------------------------------
  3397.  
  3398. You will need to use 'adb' to adjust the A/UX kernel to enable IP forwarding.
  3399. This is done by changing the value of the 'ipforwarding' "variable" from
  3400. 0 (no forwarding) to 1 (enable forwarding).
  3401.  
  3402. As root, and in single-user mode, apply this patch:
  3403.  
  3404.     # Enable fowarding: just the kernel
  3405.     adb -w -k /unix << Foo
  3406.     ipforwarding?D
  3407.     ipforwarding?W 1
  3408.     $w
  3409.     $q
  3410.     Foo
  3411.  
  3412. And reboot.
  3413.  
  3414. You'll need to redo this whenever the kernel is rebuilt (like via 'newunix')
  3415. unless you apply the patch to /etc/install.d/boot.d/bnet as follows:
  3416.  
  3417.     # Enable fowarding: keep it that way
  3418.     adb -w /etc/install.d/boot.d/bnet << Foo
  3419.     ipforwarding?D
  3420.     ipforwarding?W 1
  3421.     $w
  3422.     $q
  3423.     Foo
  3424.  
  3425. =================================
  3426. C.07)  Is PPP available for A/UX?
  3427. ---------------------------------
  3428.  
  3429. Unfortunately, I know of no port of PPP for A/UX :(
  3430.  
  3431. ================================================
  3432. C.08)  How can I change the MTU value for CSlip?
  3433. ------------------------------------------------
  3434.  
  3435. You will need to use 'adb' to adjust either the kernel or the CSlip driver to
  3436. change this value (slip_mtu).  As root, and in single-user mode, apply this
  3437. patch (please replace $THE_VALUE with the actual HEX value you want MTU to be):
  3438.  
  3439.     # Change SLIP MTU value to $THE_VALUE: just the kernel
  3440.     adb -w -k /unix << Foo
  3441.     slip_mtu?d
  3442.     slip_mtu?w $THE_VALUE
  3443.     $w
  3444.     $q
  3445.     Foo
  3446.  
  3447. And reboot.
  3448.  
  3449. You'll need to redo this whenever the kernel is rebuilt (like via 'newunix')
  3450. unless you apply the patch to /etc/install.d/boot.d/cslip as follows:
  3451.  
  3452.     # Change SLIP MTU value to $THE_VALUE: keep it that way
  3453.     adb -w /etc/install.d/boot.d/cslip << Foo
  3454.     slip_mtu?d
  3455.     slip_mtu?w $THE_VALUE
  3456.     $w
  3457.     $q
  3458.     Foo
  3459.  
  3460. Now run 'newconfig -v' and reboot.
  3461.  
  3462.  
  3463.  
  3464. ::::::::::::::::::::::::::::
  3465. ::::: ERRORS EXPLAINED :::::
  3466. ::::::::::::::::::::::::::::
  3467.  
  3468. =======================================
  3469. E.01)  backspace erases prompt problems
  3470. ---------------------------------------
  3471.  
  3472. E.01)  How do I keep command lines that I edit with "backspace" from erasing
  3473.        the prompt?
  3474.  
  3475. This behavior is due to the tty driver under A/UX. The BSD tty driver (which
  3476. A/UX doesn't use) handles this, whereas the SysV driver doesn't. If you are
  3477. running 'ksh' then you can "set -o viraw" to prevent this from happening.
  3478. As far as I know, there are no work-arounds for 'sh' or 'csh'. ('tcsh' and
  3479. 'bash' do not suffer from this problem... )
  3480.  
  3481.  
  3482. ====================================
  3483. E.02)  'xinit'|'startx' server error
  3484. ------------------------------------
  3485.  
  3486. E.02)  Whenever I try to run xinit (or startx) from the CommandShell I get
  3487.        a fatal server error. Why?
  3488.  
  3489. The reason why is because both X and the CommandShell want _complete_ control
  3490. over your Mac (display, keyboard and mouse). So, when you try to start one
  3491. while running the other, you'll get into trouble. You need to start X either
  3492. from the Console Emulator Mode or by choosing it as your "session type" from
  3493. the Login screen (This session type will be available only if your installed
  3494. Apple's X or have installed John Coolidge's 'sessiontypes' for X11R5).
  3495.  
  3496. ================================================
  3497. E.03)  "fcntl: local lock manager" error message
  3498. ------------------------------------------------
  3499.  
  3500. E.03)  I keep on getting the following error message on the Console:
  3501.        "fcntl: local lock manager not registered". What's going on?
  3502.  
  3503. This is printed out whenever your kernel is configured for NFS and a file-
  3504. lock is attempted (as when sending Email) but the NFS lock daemon (rpc.lockd)
  3505. isn't running. This is most probably due to the fact that it wasn't started
  3506. in /etc/inittab. The fix is simple: enable rpc.lockd (and it's companion
  3507. rpc.statd) in /etc/inittab as follows:
  3508.  
  3509.    nfs5:2:wait:/etc/rpc.statd   # set to "wait" for NFS status monitor
  3510.    nfs6:2:once:/etc/rpc.lockd   # set to "once" for NFS lock manager
  3511.  
  3512. and either Restart A/UX or simply type 'init q'.
  3513.  
  3514. ===============================================
  3515. E.04)  "xterm: no available ptys" error message
  3516. -----------------------------------------------
  3517.  
  3518. E.04)  When I try to startup 'xterm', I get the following error
  3519.        message: "xterm: no available ptys"... What gives?
  3520.  
  3521. There are three possible solutions:
  3522.  
  3523.     1. Make sure that there are ptys configured into the
  3524.        kernel... Use 'kconfig' to check that NPTY is non-0
  3525.     2. Switch to X11R5... This seems to happen to some users
  3526.        running Apple's X11...
  3527.     3. For at least one user, copying the /usr/lib/X11/xterm*.tic files
  3528.        to /usr/lib/terminfo/x/xterm(s) worked...
  3529.     4. One final possible solution is to start 'xterm' from 'sh'.
  3530.  
  3531. ==================================
  3532. E.05)  ps|pstat only work for root
  3533. ----------------------------------
  3534.  
  3535. E.05)  'ps' and 'pstat' only seem to work for root. If anyone else tries
  3536.        these commands, they get a "no mem" error message. What's wrong?
  3537.  
  3538. Both these commands require read access to /dev/kmem, which is not allowed
  3539. for regular users. Thus, the programs require that they be suid or sgid to
  3540. the user or group that can read /dev/kmem. See if this is true and fix if
  3541. not.
  3542.  
  3543. //////////////////////  END OF PART 4 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  3544.  
  3545. =====================================
  3546. **** Author's/Editor's Signature ****
  3547. -------------------------------------
  3548.  
  3549.  
  3550. -- 
  3551. #include <std/disclaimer.h>
  3552.   |     Jim Jagielski      |  jim@jagubox.gsfc.nasa.gov  |  V: 301 286-5964  |
  3553.   | NASA/GSFC, Code 734.4  |     Greenbelt, MD 20771     |  F: 301 286-1719  |
  3554.                 <<  Hey! Your karma just ran over my dogma!  >>
  3555.